Talk:LlListSort
Bubble Sort?
This script: <lsl> default {
state_entry() { llOwnerSay(llList2CSV(llListSort([3,2,3,5,3,1,1,4], 2, TRUE))); }
} </lsl>
outputs
1, 4, 3, 5, 3, 1, 3, 2
both in LSO and in Mono. This means that the sort is not stable. Since stability is a characteristic of Bubble Sort, it looks like the claim of using Bubble Sort is not correct. --Pedro Oval 20:01, 5 April 2014 (PDT)
maybe... needs an extended example to see if LSL backwards ordering isn't the culprit
-- Void (talk|contribs) 22:19, 5 April 2014 (PDT)