Recipes to implement top x filtering