1 min readNov 20, 2018
For reasons beyond me Javascript is weird this way: https://stackoverflow.com/questions/5525795/does-javascript-guarantee-object-property-order. You have to use another method to lock in the order, look into solutions on stack overflow!