string1.localeCompare(string2); //returns postivie number if string1>string2 //returns negative number if string1<string2 //returns 0 if they are equivalent