Sorting Numbers

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
Brittgriscom
Posts: 95
Joined: Wed Mar 30, 2011 10:15 am

Sorting Numbers

Post by Brittgriscom » Wed Jun 13, 2012 9:34 pm

In the long run, I'm trying to do a merge sort of a long list of numbers. In the short run, I just want do a simple sort of these numbers: 5,4,3,2,1. How do I do that?

Klaus
Posts: 14177
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Sorting Numbers

Post by Klaus » Wed Jun 13, 2012 9:44 pm

Hmm, maybe "sort" is what you are looking for?
Like this:
...
sort lines of tListWithNumber descending numeric
...
The dictionary isn't THAT bad really... 8)


Best

Klaus

Post Reply