Skip to content
lsl.devlsl.devLSL Dev

CatSorting

LSL Header: {{LSL Header|ml=*}}RightToc: {{RightToc}}

Sorting

Name Creator Description
Merge SortXaviar CzervikImplements a Merge Sort in LSL, however this code is 300(ish) times slower than llListSort. Don't use this in a script!
String CompareXaviar CzervikCompares two strings and reliably returns either 1, -1, or 0 if they are the same.
String: ReverseVoid SingerReturns an input string in reverse order
String: Last IndexVoid SingerReturns the last index of search found in string (the backward equivalent of llSubStringIndex)
Insertion SortDora GustafsonShort version can easily be expanded to sort parallel lists something that can't be done with the built in llListSort()
Tail Messages (NewAge)Asia SnowfallA super nice easy to use script for those non-scripters out there! NewAge coding has done it again where you no longer need to scroll up and down adding buttons and adding messages, Features a tag system (you'll see what i mean :P)
Original wiki source

Some wiki templates and tables need their original context. View this article on the Second Life Wiki. Technical wording and examples are retained from the source; historical guidance may differ from current behavior.

From the Second Life Wiki

Community documentation adapted from CatSorting, by Linden Research, Inc. and contributing residents.View contributors and history.

Imported wiki revision:

Licensed under CC BY-SA 3.0. Last wiki edit: .Formatting and links have been adapted for this site; API metadata follows the LSL definitions.