[#5896] reverse sort the list we're del-iterating through, so the right idxs are deleted