Code refactoring
Big code refactoring
Reset needsFilter to NO before doing anything else
Add sortUsingDescriptors: and filteredArrayUsingPredicate:
Wrong type