Posted 12 March 2024, 8:55 am EST
It seems the C1SortDataCollection uses SortDescription to perform natural sorts on the list. For example, I can easily sort my Names column ascending or descending. However, is it possible to provide a custom sort method, perhaps with a Comparer or a linq query. I would like to sort my list so items that have specific values are at the top then the rest of the list is ascending. For example if my list is {TagID, TagIO, DeviceID, BusID, Alphebet, Zebra} I would like the list to sort so that TagID, DeviceID, TagIO are always the first 3 items, the rest are in alphabetical order.