This does a stable sort as required. One sort line.

on mouseUp
    put yourData into temp
    set the itemdel to "/"
    sort lines of temp numeric by item 2 of each & char -2 to -1 of item 1 
of each
    answer temp
end mouseUp

It cheats a bit in that it expects the data to be in a format it likes. But 
the multiple stable sort is a great tool.

Craig Newman
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to