Js Array Sort Method Javascript Interview