Deprecated function filter() on ItemList Class

Permalink
Hi,

Does anyone know other alternatives on how to add custom filters on the ItemList since the filter() function is marked as deprecated?

Thanks,

datasouth