Add @mde's "dominant top level id sort idea" so that only the stupidest sort clauses are unstreamable, update test to use streaming API