Javascript Comparing 2 Strings Alphabetically For Sorting Purposes

Javascript Comparing 2 Strings Alphabetically For Sorting Purposes