DATA BRASIL NÃO ORDENA, COMO FAÇO PARA ORDENAR POR DATA DD/MM/YYYY
DATA BRASIL NÃO ORDENA, COMO FAÇO PARA ORDENAR POR DATA DD/MM/YYYY

Link to test case:
Debugger code (debug.datatables.net):
Error messages shown:
Description of problem:
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
ESTA MOSTRANDO A ORDENAÇÃO ASSIM:
10/03/2020
11/02/2020
20/01/2020
We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.
Cheers,
Colin
Try the solution presented in the date sorting blog.
Kevin
You would simply need moment.js with the Brazilian locale file and the ultimate date sorting plug-in which requires moment.js.
In your Javascript you would need these statements. The statements must be executed prior to data table initialization. That should do the trick:
As you can see in the brazilian locale file 'L' is defined like this:
resolvido!! obrigado
coloquei isso $.fn.dataTable.moment( 'DD/MM/YYYY' );
olhei neste link:
https://datatables.net/blog/2014-12-18