Using natural table sorting

Using natural table sorting

zenicaninzenicanin Posts: 1Questions: 1Answers: 0

I am using the natural sorting plugin and it works much better than it did out of the box. However, it's still not 100% correct.

Consider these cell values:

  • 1.53 sec
  • 1.9 sec
  • 2.2 sec

The plugin sorts them as:

  • 1.9 sec
  • 1.53 sec
  • 2.2 sec

Anyone know how to fix this?

Answers

  • allanallan Posts: 63,761Questions: 1Answers: 10,510 Site admin

    I'm surprised that doesn't work with the natural sorting plug-in, but I guess its a limitation in the natural sort algorithm used. I'm afraid I don't have a fix for it just now - you might want to take a look around the web to see if anyone else has written a natural sort for Javascript and you could hook that into Javascript though.

    Allan

This discussion has been closed.