|
|
Reverse Sort
Added on 1/14/2006
|
The name says it all. This custom handler should be placed in a movie script so it can be used anywhere within your project.
on reverseSort (theList)
if not(listP(theList)) then return 0
theList.sort()
theCount = theList.count
newList = []
repeat with j = theCount down to 1
newList.add(theList[j])
end repeat
return newList
end
|
|