Last Updated: 26 Nov 2019 14:11 by ADMIN
Release 2019.R1
Eduardo Serra
Created on: 12 Oct 2016 16:28
Category: Data Source
Type: Feature Request
Support custom sorting for DataSource groups.
This feature was already requested in another post, but it was missunderstood. (

The idea is to allow for Groups in DataSources to be sorted in ways other than alphabetically; this will allow for certain groups to be given priority.
Alex Hajigeorgieva
Posted on: 26 Nov 2019 14:11

Hello, Ron,

Here is an example for your reference where the custom sort order in the group is defined by the value of another field. The example shows the days being ordered by the val field:

groupable: {
             sort: {
               compare: function(a, b) {
                 if (a.items[0].val === b.items[0].val) {
                   return 0;
                 } else if (a.items[0].val > b.items[0].val) {
                   return 1;
                 } else {
                   return -1;

Let us know in case you have further questions.

Kind Regards,
Alex Hajigeorgieva
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Posted on: 24 Nov 2019 10:54
People just want to order the group field by some custom field, the changes in Dec 2018 doesn't seem to show that. 
Konstantin Dikov
Posted on: 26 Dec 2018 11:13

In the upcoming official release we will introduce a custom group compare function. You could check the public item in the following issue:

Ravi Singh
Posted on: 26 Dec 2018 09:16
Its a common feature, it should be implemented by default. I am surprise its not there
Posted on: 19 Jun 2018 14:38
This becomes really handy when you display a list of entries sorted by date/time, and then you need to group them by some other field. Without that feature implemented, the order of items becomes completely random.
Imported User
Posted on: 10 Jan 2018 21:29
It would be very helpful if the user could provide the group "comparator" function. That way we can write an kind of sorting order we wish
Posted on: 09 Jan 2018 09:01
I completely agree with Kris
Posted on: 16 Nov 2017 15:43
Hope this includes sorting on a different field than grouped on too (ie group on ID, sort on Name). In most good database designs, you want to be sorting on an ID not a group name which is not guaranteed to be unique.