Sorting a listbox

BlitzMax Forums/BlitzMax GUI Programming/Sorting a listbox

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".

Couldn't you put the items into an array, sort them, clear the listbox, and put them (in order) back on the listbox?