javascript natural sort
Mam tę tablicę:
var columnArray =
['columnNumber1','columnNumber6','coulmnNumber7','columnNumber11','columnNumber12'];
Jeśli zrobięcolumnArray.sort();
, to daje mi :
columnArray:
['columnNumber1','columnNumber11','coulmnNumber12','columnNumber6','columnNumber7']
Jak mogę sortować poprawnie?