Js Sort Array By Key Value Dictionary Python W3schools