You are here

public static function FrxDataFile::blockCompare in Forena Reports 7.4

Sort compare function for sorting data by category then title.

Parameters

unknown $a:

unknown $b:

Return value

number

File

./FrxDataFile.inc, line 101

Class

FrxDataFile

Code

public static function blockCompare($a, $b) {
  $c = strnatcasecmp($a, $b);
  return $c;
}