Php Array Sort By Key Value Javascript W3schools