' Start with some Array of Types
Public g_arrData(NumRecords) As BrandData
' . . . . Make sure NumRecords = Actual number of used records
' Convert to List
Dim L As List
L.Initialize
L.addall ( g_arrData )
' Sort the List with List.Sort(True)
L.SortType("Brand", True)
' If Desired for some reason, put back into array of Types
For iRecord = 0 To l.Size - 1
arrData(i) = L.Get(iRecord)
Next