Get String After Index Javascript Array Sort Function