Changes label for loop now that labels are previously sorted