Skip to content

Instantly share code, notes, and snippets.

@madrobby
Created November 9, 2013 17:42
Show Gist options
  • Save madrobby/7387820 to your computer and use it in GitHub Desktop.
Save madrobby/7387820 to your computer and use it in GitHub Desktop.
Project names and sort order:
aawkward
åberaber
Abernein
Internally, they should be sorted with lower-case, normalized, accent-free versions:
aawkward
aberaber
abernein
When users enter autocomplete tokens, like "ab" it should find all matches from the internal version:
aberaber
abernein
And show them sorted by the internal version as well:
åberaber
Abernein
I'm not sure about:
- punctuation characters (probably good to just strip and ignore)
- sorting when project name ends in a number (probably good to sort 8,9,10,11,..)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment