Sort question

Yves COPPE yvescoppe at skynet.be
Sun Oct 3 09:14:16 CDT 2010


Le 03-oct.-10 à 16:04, Mark Schonewille a écrit :

> Hi Yves,
>
> What about this:
>
> set the itemDel to slash
> sort lines of myList by item 2 of (word 2 of each) and item 1 of  
> (word 2 of each)
>
>


Re,

No, I don't receive the right answer
it gives :

Jean	13/01/2017
Luc	03/07/2017
Bern	02/09/2015
Michel	06/01/2018
Bert	01/06/2016
Jo	13/02/2016
Rob	26/03/2018
Nick	15/01/2015

but the right answer is :

Michel	06/01/2018
Jean	13/01/2017
Nick	15/01/2015
Jo	13/02/2016
Rob	26/03/2018
Bert	01/06/2016
Luc	03/07/2017
Bern	02/09/2015



>> Hi list
>>
>> I have a list of lines
>> each line has a first name & tab & a date (French format : DD/MM/ 
>> YYYY)
>>
>> I want to sort the list on the DD/MM date without taking the YYYY  
>> into account
>>
>> Here a sample :
>>
>> Jean	13/01/2017
>> Luc	03/07/2017
>> Bern	02/09/2015
>> Michel	06/01/2018
>> Bert	01/06/2016
>> Jo	13/02/2016
>> Rob	26/03/2018
>> Nick	15/01/2015
>>
>> gives
>>
>> Michel	06/01/2018
>> Jean	13/01/2017
>> Nick	15/01/2015
>> Jo	13/02/2016
>> Rob	26/03/2018
>> Bert	01/06/2016
>> Luc	03/07/2017
>> Bern	02/09/2015
>>
>> Can someone help me to to that ?
>>
>> Thanks.
>>
>> Amicalement.
>>
>> Yves COPPE
>> yvescoppe at skynet.be
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

Amicalement.

Yves COPPE
yvescoppe at skynet.be




More information about the use-livecode mailing list