Changed how ArrayUtils::multiSort() works to fix few bugs.