I am tryong to sort object by key with nested array in keys , I need a function that compare the array index too.
My goal is to sort out this input data