replaced pointless reorder methods with array_values() calls