stern_brocot: support filtering by order & rank