some defensive code in disk sort

still a huge mess though. That query status observer is out of control.
Someone has to put it down.