Grouping in store with values in extjs 6.2
问题 I am trying to group my store on department name . Department name contains some null values also . when i am trying grouping along with sort function its result in multiple group from same name. see this fiddel for details. I am not getting what i am doing wrong. Kindly advise. 回答1: Your sorterFn is wrong. The sorterFn has to return three different values: 1 if the second argument is strictly greater than the first. -1 if the second argument is strictly smaller than the first. 0 if both