I am using tablesort on table ,where data in cells are formatted by
python methods. So data in the column is not sorted correctly.

eg:   if the data in a column of table is put directly as

6 users
10 users
2 users  likewise..

Then the sort works based on numbers in the data.

But if I generate column data through python methods:
for eg:  str(num)+' users'

then sort in that column fails based on numbers. Everything is sorted
as string.

Any help , would be appreciated.

Reply via email to