add a few more cases for sorted partitioned cursors