Switched to array_pod_sort as per Chris's suggestion.