Work-around for PHP 5.3.3 randomly failing in uasort()