Sorting a variable

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
warrenk
Posts: 110
Joined: Sun Sep 21, 2008 5:39 am

Sorting a variable

Post by warrenk » Tue Jul 21, 2009 1:47 am

Is there anyway to sort multiple items in a variable mixing ascending and descending?

ie. sort lines of tData by word 1 of each, word 2 of each, word 3 of each
...where word 1 and word 2 are acscending and word 3 is descending.

Thanks for any help!
Warren

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2718
Joined: Sat Dec 22, 2007 5:35 pm
Location: Genève
Contact:

Sorting a variable

Post by jmburnod » Tue Jul 21, 2009 10:08 am

Hi Warren,

I'm not sur i understand your project (I'm a beginner in english)

Sorting by one item ascending or descending is easy

but what is the result after a sort by differents items ?

Do you have an exemple of a list you need (before and after sort) ?

Regards

Post Reply

Return to “Getting Started with LiveCode - Experienced Developers”