Try a simple input of Strings in reverse order so you can easily see what is happen at each step.
{"Z","Y","X","W","V", "U"}
I suspect you will get something like: {X, Y, Z, U ,V , W}
Type: Posts; User: Norm
Try a simple input of Strings in reverse order so you can easily see what is happen at each step.
{"Z","Y","X","W","V", "U"}
I suspect you will get something like: {X, Y, Z, U ,V , W}
Can you post the contents of the list before the sort and after the sort so we can see what the code does?