protected function _sortByProperty($a, $b)
{
if ($a[$GLOBALS['_sort_property']] == $b[$GLOBALS['_sort_property']]) {
return 0;
}
return $a[$GLOBALS['_sort_property']] > $b[$GLOBALS['_sort_property']] ? 1 : -1;
}