GML Sorting grid from strings

Kabcorp

Member
Hello GMers !
I'm trying to sort a classic ds_grid using this:

0 STR1 STR2 STR3 STR4
1
2
3
4
5
...

All cases countain uppercase strings.
I want sort the grid from the 1st collumn called STR1

I tryed to convert strings to real but i think i missed something to have a good result.
Some words in STR1 havn't the same lenght, can countain numbers and symbols too.

Anyone have a tip to sort not with numbers but with letters?
 

Kabcorp

Member
Nothing stable...
I tryed to convert strings as FULL real like
"ABC" (65+66+67=198)
And i wanted "ABC"=656667

But i havn't the tip to get this style of real values
 
Top