Skip to content
Snippets Groups Projects

fix: bugfixes in list of SPs

Merged Pavel Břoušek requested to merge fix-listofSps into master
3 files
+ 24
3
Compare changes
  • Side-by-side
  • Inline
Files
3
+ 4
1
@@ -8,7 +8,10 @@ class ListOfSps
{
public static function sortByName($a, $b)
{
return strcmp(strtolower($a['name']['value']), strtolower($b['name']['value']));
return strnatcasecmp(
transliterator_transliterate('Any-Latin; Latin-ASCII', $a['name']['value']),
transliterator_transliterate('Any-Latin; Latin-ASCII', $b['name']['value'])
);
}
public static function getClass($type)
Loading