Inverse the AGPIO sort.