nextcloud/core/js/tests
Vincent Petry 173059f6d0 Fixed file list sorting
Now using a natural sort algorithm that is more consistent between JS
and PHP (although not perfect in some corner cases)

- added OC.Util.naturalSortComparator that uses the same algo that was
  used for the user list
- changed user list and files list to use OC.Util.naturalSortComparator
- removed toLowerCase() and changed the comparator to use
  String.localeCompare()
- added unit tests
- added OC_NaturalSort that is used by OCP\Util::naturalSortCompare()
2014-08-11 13:28:53 +02:00
..
lib Added Javascript unit tests 2014-01-16 17:12:29 +01:00
specs Fixed file list sorting 2014-08-11 13:28:53 +02:00
specHelper.js Fixed file list sorting 2014-08-11 13:28:53 +02:00