sort the SET-DIFFERENCE when ignoring registers