Apache Solr is a very powerful index and search engine. Unfortunately it does have some flaws, at least I think this issue is somehow not “by design”. If you are going to use a field to sort on, make sure you use one of the native data types in Solr, and don’t enable any tokenizer [...]