Correcting ordered list