sort can be optional for findAndRemove #26