sorted the list of things to delete