Sorting issue whe using Gaj's Latin alphabet

Sorting issue whe using Gaj's Latin alphabet

gregounoursgregounours Posts: 1Questions: 0Answers: 0
edited March 2013 in Bug reports
Hi,
Great work on DataTables. I have just notices a sorting bug when using the Gaj's Latin alphabet.
I am using DataTables via the TablePRess Wordpress plugin.
I am currently publishing tables in Serbian using the Gaj's Latin alphabet (http://en.wikipedia.org/wiki/Gaj%27s_Latin_alphabet). It has a couple of extra letters and that creates some issue when sorting.
See here: http://www.izbornareforma.rs/izbori-2012/lokal-rezultati/leskovac/
In the large table, names starting with Đ are after names starting with Z.
Greg

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin
    Hi Greg,

    There are a few discussions about this on the forum already:

    http://datatables.net/forums/discussion/397
    http://datatables.net/forums/discussion/1212

    Among others.

    Really want I want to do is simply use localCompare for all string sorting in DataTables, but with ropey browser support I can't do that. So its up to you id you want to put in localCompare sorting. You might find that your target market has suitable browsers.

    Allan
This discussion has been closed.