protected function sortConverters(array $convertersByPriority) { ksort($convertersByPriority); return call_user_func_array('array_merge', $convertersByPriority); }