C1SortDataCollection - Custom Sort

Posted by: jgodbout on 11 March 2024, 11:55 pm EST

  • Posted 11 March 2024, 11:55 pm 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.

  • Posted 12 March 2024, 9:57 pm EST

    Hi Jamie,

    Thank you for sharing all the details. We have shared your requirements with the development team to get their insights on it and will let you know the updates as soon as possible.

    [Internal Tracking ID: C1DCN-1155]

    Best Regards,

    Kartik

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels