sorting words ?

Kay C Lan lan.kc.macmail at gmail.com
Sun Dec 13 07:43:35 EST 2015


Thanks. Much appreciated.

On Sat, Dec 12, 2015 at 9:43 PM, Mark Waddingham <mark at livecode.com> wrote:

> 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 ~ mark at livecode.com ~ http://www.livecode.com/
> LiveCode: Everyone can create apps
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the use-livecode mailing list