You can just create a computed property that returns a string in correct format to allow you sort properly, then sort on that property instead of real invoice number.
office: 678.405.0687 | mobile: 404.388.1899
Microsoft Worldwide Partner of the Year | Custom Development Solutions, Technical Innovation
Sent: Saturday, January 31, 2009 10:27 AM
To: Sergey Barskiy
Subject: [CSLA .NET] SortedBindingList - advanced sort
I have a small problem.
I have Invoice class with Invoice number property. It's in nnn/yy format.
NNN - represents starting number
YY - represents the year invoice was created.
Now I want to sort Invoices by year, and than by number:
Thanks for help
Copyright (c) Marimer LLC