Sorting a listbox

BlitzMax Forums/MaxGUI Module/Sorting a listbox

Pete Rigz(Posted 2007) [#1]
Hi, what's the best way to sort a list box? I tried using mylistbox.Sort but I'm getting the error "Identifier Sort not found".


CASO(Posted 2007) [#2]
Couldn't you put the items into an array, sort them, clear the listbox, and put them (in order) back on the listbox?