sorted and removed