Improve alphabetic sorting.

- Simplify tokenizing of numbers in sort key
- Convert to lowercase instead of swapping case
- Fix filtering of diacritics etc. from unicode strings
Fixes hhucn/adhocracy.hhu_theme#387.
Added tests for alphabetic sorting (#446)