This task can be performed using DeckFilter
A Steam Deck companion app
Best product for this task

DeckFilter
productivity
Select games perfectly aligning with your schedule and preferences. Filter your Steam library quickly by HLTB, ProtonDB, Deck compatibility & tags/genres.
What to expect from an ideal product
- Quickly filter your Steam library by how long it takes to beat the game.
- Check game compatibility with ProtonDB to ensure seamless play on your system.
- Find games that are perfectly suited for your Steam Deck with Deck compatibility filters.
- Easily sort through games using tags and genres that match your specific tastes.
- Simplify game selection by combining your gaming preferences and available time.