ignore $first and $after when checking comparison functions