I have been trying for hours to sort a multidimensional object using an "orderKey" field. Unfortunately, I have not been able to sort it with the numerous examples I've found on the internet.
My Object (simplified):
{
"entry1": {
    "id"          : 1,
    "title"       : "Title",
    "shortDesc"   : "description",
    "price"       : 5,
    "isOnline"    : true,
    "orderKey"    : 2,
},
"entry2": {
 "id"             : 1,
    "title"       : "Title",
    "shortDesc"   : "description",
    "price"       : 10,
    "isOnline"    : true,
    "orderKey"    : 7,
},
...
I want to be able to sort the object by "orderKey" (asc/desc).
I would be very grateful for some help.
Edit: I have found the linked post as well, but I am not able to make it work for my example.
 
    