More formatting tweaks
array_orderby fix for PHP 5.3