Sort Nested Json Object By Value Javascript Interview Questions