Notifications
Announcements
No record found.
Hi Guys,
Can we sort the values in a List(collection class)?
Regards,
*This post is locked for comments
use a .net class SortedList Class
msdn.microsoft.com/.../system.collections.sortedlist(v=vs.110).aspx
Thanks for your reply, I was looking for solution in X++(Dynamics AX).
bad luck,
perhaps with an array, but I have not tried my self
msdn.microsoft.com/.../aa653716.aspx
If you just need a collection class and not looking at Lists in particular.
I would use a Set instead.
msdn.microsoft.com/.../set.aspx
As sets sort themselves.
A list stores in the order you added in.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 4 Most Valuable Professional
Priya_K 4
MyDynamicsNAV 2