JSFiddle - React, Tailwind, and code Playground
HTML
<script src="https://getfirebug.com/firebug-lite-debug.js"></script>
JavaScript
var object = {
"1111": "value1111",
"300": "value300",
"2": "value2",
"4": "value4"
}
var keys = Object.keys(object).sort(function(a, b) {return a - b;});
for (var index = 0; index < keys.length; index++) {
var key = keys[index];
var value = object[key];
console.log(key + ': ' + value);
}