Various tweaks and cleanups for clarity/consistency
Reuse order by permutation generation
Merge pull request #1 from nathanlws/index-scan-dt-cleanups

Various tweaks and cleanups for clarity/consistency