Change Css Property Javascript Array Sort Function In Js