The order of them is just due to the installation order at the moment (although I guess it might make sense to have a 'sortorder' field in there). Nothing stops you from changing the order if items in the WIDGETS object though:
function moveToRight(n) {
var w = WIDGETS[n];
delete WIDGETS[n];
WIDGETS[n] = w;
}
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
The order of them is just due to the installation order at the moment (although I guess it might make sense to have a 'sortorder' field in there). Nothing stops you from changing the order if items in the WIDGETS object though: