I hope the title of this thread isn't too misleading - but I could think of a better one
I need to sort an 1D-array. Some of the records contain a separator character (now "\") which should come first in the sorting order. I tried every ASCII code from 1 to 31 but all of this records come at the end of the sorted array. The space character is ASCII code 32 so I thought if I used a code < 32 as separator this records would come first.
Example:
"axb" should come before "a b" where x can b any character.
Is there a solution to this problem? Thanks in advance!