In MSSQL we use sql_latin1_general_cp1_cs_as collation sequence

When do do a find gt the order is aAbBcCdD.....

I need to compare two strings that are the main part of the index to replace " if a < b "
The problem is that DFlex (if a < b) will do the compare based on the ascii values where the order is ABCD...abcd...

Yes, I can write a function to do that, but I am lazy.
Is there some existing function that will compare two strings using the collation sequence in use for the database.

Thanks