reverse sort to use lowest GT code in the rare case there may be duplicates