I need to sort the keys to an exact order, for example I have the next array:
const arr = [
             {
               active: true,
               code: "1234",
               indentifier: "OPC-999",
               name: "Example",
               start: "02-12-1997",
             }
             {
               active: false,
               code: "4567",
               indentifier: "OPC-111",
               name: "Example",
               start: "03-02-2010",
             }
]
The exact order for every object should be: name, indentifier, code, start, active.
I don't need to sort by value but by key name.
What's the best way to do this?
 
     
    