ghalliday/HPCC-Platform — comment on commit 8929e47d77ba3014e93de8c4bacd443361fa50a3
File: ecl/hql/hqlmeta.cpp line 1337
By rengolin:

If it's already sorted, then the lines above will convert shuffle to sort/group that will ultimately be optimized away.

Maybe this two conditionals could be re-arranged to avoid that.