joomla/joomla-framework — pull request #284 by elgenie (2013-11-22 15:22:45+00:00)
Title: Make ArrayHelperTest resilient against undefined sort order

The documentation of usort (http://us1.php.net/manual/en/function.usort.php)
makes it clear that "If two members compare as equal, their relative order in the sorted array is undefined."

This pull request makes the test work on hhvm as well as Zend implementations.