Sort search results, fixes #34