cancel
Showing results for 
Search instead for 
Did you mean: 

TableSorter Class is not Sorting the Columns properly

Former Member
0 Kudos

Hi All,

I am using the TableSorter Class and it is properly implented but it is not sorting some values in a column correctly.Please , suggesst you expert view so that i can sort the table in a right manner.

e.g a column it is sorting like

1750

1751

1755

520

600

601

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

What is the data type used in the column? Please check the sort code which handles the integer sorting.

Regards

Saravanan K

dao_ha
Active Contributor
0 Kudos

Hi,

Look like your column's values are treated/sorted as texts. You'll probably need to pad the values with leading zeros.

Hope it helps.

Regards,

Dao