js compare two strings alphabetically