How To Sort By Name In Javascript