crack at getting query and sort info down the stack. Next step is to verify that PartitionedCursor is seeing this information