Group cards by type in deck display.