Change Css Property Javascript Array Sort Numbers