def METHOD_NAME(search_text: str, features: List[Feature]) -> List[Feature]:
    """
    If the given search text specifies a borough and one or more of the
    given features match the search text and borough *exactly*, promote
    them to the top of the list.
    This is actually a workaround for an apparent flaw in
    GeoSearch/Pelias whereby it sometimes, for some reason, promotes
    non-exact matches over exact ones.
    """
    exact_matches: List[Feature] = []
    other_matches: List[Feature] = []
    for feature in features:
        p = feature.properties
        addr_with_borough = f"{p.name}, {p.borough}"
        if addr_with_borough.lower() == search_text.lower():
            exact_matches.append(feature)
        else:
            other_matches.append(feature)
    return exact_matches + other_matches