Ordered JSONObject
As JSON objects do not inherently have an order, you should use an array within your JSON object to ensure order. As an example (based on your code): jsonObj = { items: [ { name: “Stack”, time: “…” }, { name: “Overflow”, time: “…” }, { name: “Rocks”, time: “…” }, … ] }; This … Read more