You and I have apparently come to quite different understandings of the problem BrowserUK posed. He left a few details out, but I assume that he's illustrating the shape of the data, and is providing a valuable clue to the actual content of the data when he writes "once the elements can be strings that could contain embedded spaces".
If my assumption is true, then approaches that use concatenation will fail for some inputs, notably some inputs that contain embedded spaces.
Perhaps this is a good opportunity for BrowserUK to clarify his intent.
In reply to Re: Re: Re: Sort problem
by dws
in thread Sort problem
by BrowserUk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |