completion: only call sort when using comm to remove items from a list