PHP Sorting-library Resources