You have to set the sorted property before you populate the listbox with items.
That's on all platforms.
Alternatively call listbox.sort in the formcreate.
The problem is, that setting the sorted property when the listbox already contains many items is not really smart.
(It would invoke a sorting action, which can be slow and unresponsive)
Adding is no problem, nor is sorting afterwards.