filter cards by type, may be monkey-patch Array class