Fix #44: Corrected sort order for exact matches in search results.