Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
745
Sorted column grouping not in Order
posted

 

 

In below posted pictures have the data of Numeric sorted and grouped

But its showing not in number order

Give us code or sample how to group and sort them in number wise as like Tool # 1,2,3..

 

Parents
No Data
Reply
  • 469350
    Offline posted

    The data appears to be sorted as text, so I suspect your column's DataType is not numeric, but is a string.

    The best way to solve a problem like this is to store your numeric values in a numeric data type and not to use string. Using strings will create all sorts of problems with filtering and sorting like you are experiencing here.

    The other option is to use a SortComparer on the column.

Children
No Data