static function sort(array &$dbRows, $field_name) { if (empty($field_name)) { throw new Exception('Must supply field name to compare by'); } self::$compare_field_name = $field_name; usort($dbRows, array('Db_Utils', 'compare_dbRows')); }