Jquery Change Image Src Javascript Array Sort Function In Js W3schools