I have a large dictionary and I would like to extract the keys from this sorted alphanumerically. Does anybody have a method for doing this?
Essentially I am reading data from a json file and would like to use the keys as a list to the user to select from.
This is where I am at present:
using Toybox.WatchUi as Ui;
var machines = null;
...
//! Load your resources here
function onLayout(dc) {
machines = Ui.loadResource(Rez.JsonData.jsonFile);
var mList = machines.keys();
System.println("onLayout: array of machines: "+mList);
}