Correction on sorting modified versions