What is the best way to order by exact matches

When querying with a search condition, what is the best way to order by exact matches? The attached screenshot shows what I did, but it seems messy
screenshot_2024-03-21_at_8.51.24___am.png
Was this page helpful?