Filter a list of items by class name.