Reorder listbox row

I have a listbox with row reordering is working ( allowRowReorder = true )

but how do I know a row has been reordered ?

using Xojo on a MacBook Air .

use the event DragReorderRows (NewPosition As Integer, ParentRow As Integer) As Boolean

The DesktopListBox was reordered and in Column (0), at is right, have a sign to explain that… see the second screen shot for the sign too…

A second click in Column(0) will change the sign pointing in the other way.

Screen shots done on macOS Tahoe.

Also, if you prefer a different Row Sorting, you will find how to achieve that in the documentation (As I usually do not need to do that).

thanks very much, that’s exactly what I need !