iOS Question How to Sort CreateListItem in a CustomListView?

cbanks

Active Member
Licensed User
Longtime User
How do I sort the lines in a CustomListView? I use the code below to create/add the items to the listview:

B4X:
For Each Line As String In File.ReadList(File.DirLibrary, "History.txt")
     clv2.Add(CreateListItem(Line, clv2.AsView.Width, 50dip), 50dip, "")
Next
 
Top