On 2015-12-12 13:48, Mark Waddingham wrote:
1) Find the ranges of the things you want to sort in the string.
2) Compute the new order of the substrings (from the ranges) based on
the requested sort.
3) Rebuild the string replacing the original ranges in the original
string with the reordered substrings.
So the outcome of this very useful discussion doesn't get 'lost' in
amongst the list archives, I've updated Hermann's enhancement request
for more powerful 'sort' with the above:
http://quality.livecode.com/show_bug.cgi?id=16569
Warmest Regards,
Mark.
--
Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can create apps
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode