Need more definitive detection of similarity sorting SQL
Problem to solve
While the regex works, this feels a little brittle. Perhaps for a follow-up Issue, would we be able to instead of inspecting the raw SQL, implement some other, more definitive method for determining if we're looking to order by similarity?
Proposal
Implement a more definitive approach to analyzing the SQL or close this issue if that is not feasible.
Edited by Dan Jensen