filter by priority (issue #2)