rollup direction comparison