tests/ordering: removed dead code and fixed QF
tests/ordering: removed dead code and fixed QF

Since we're now using maps in QF, we can no longer simply return index 0

relab/gorums,relab/gorums,relab/gorums