Clearly my understanding of how SortWith works is flawed.
I have two arrays:
fileList() as String fileSize() as Integer
I want to sort the fileList array alphabetically, so I use:
fileList.Sort
Now I would like to sort the fileSize array in the same order the sorted fileList array is in, so I try:
fileList.SortWith(fileSize)
This does’t work, however.
Can someone help clear up my understanding of how SortWith is supposed to work?