Js Sort Array By Key Value Javascript Editor