Flask-sqlalchemy filter_by berisi

games = Game.query.filter(Game.players.contains(p)).order_by(Game.some_field).all()
Troubled Teira