azer/onejs — pull request #18 by mixu (2012-07-19 18:10:30+00:00)
Title: Fix: sorting didn't use the full string, so it was not stable

Sort should use localeCompare to make sure that the whole string is compared, rather than just comparing the first character (which can result in unnecessary shuffling of sort order).