deleted outdated code from sort-filter