According to MDN, localeCompare could accept options to adjust, e.g., sensitivity, ignore punctuation, etc. Chrome supports this since version 24. It'd be nice if Firefox could add support also.
That's been implemented under bug 769871; it just needs to be turned on through bug 853301.
*** This bug has been marked as a duplicate of bug 853301 ***