def filter_and_sort_simproducts(dfsimproducts, min_price=None):
    """
    removes similar products with too low price and
    sorts them by decreasing similarity
    """
    if min_price:
        dfsimproducts = dfsimproducts[dfsimproducts['price'] >= min_price]
    dfsimproducts.sort_values('sim', ascending=False, inplace=True)
    return dfsimproducts