Yes, there is a way to implement this scenario. One possible way would be to first sort the items by using the key that you will later group by. In this way the groups will be created in the order the items were sorted initially and you will get the desired result. When sorting, you will also need to implement the IComparable
interface in your business objects and provide the proper comparison logic so that you make x<b.
Let me know in case you have further questions or need assistance.
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>