public static function sort_ltime($a, $b) { if ($a['ltime'] == $b['ltime']) { return 0; } else { return $a['ltime'] > $b['ltime'] ? -1 : 1; } }