public static function DataFileSystem::blockCompare in Forena Reports 8
Sort compare function for sorting data by category then title.
Parameters
string $a:
string $b:
Return value
number
File
- src/
File/ DataFileSystem.php, line 65
Class
Namespace
Drupal\forena\FileCode
public static function blockCompare($a, $b) {
$c = strnatcasecmp($a, $b);
return $c;
}