This is my callback for my usort() public function sortProperties($a, $b) { $sortA = inflector::camelize(str_replace(\'-\', \'_\', $this->sortBy));
I am currently creating a sortin开发者_StackOverflow中文版g method that consists of values from an mysql query.