Add sortByName in front js