React Array Sort Method In Js Object Keys