add comparison of sorted dfs