def METHOD_NAME(request):
    features = sorted(models.Feature.all(request.db), key=lambda f: f.name)
    return {
        "features": features,
        "cohorts": request.db.query(models.FeatureCohort).all(),
    }