Fixed the qictab sort again to be more general with sames rather than column numbers, which should help prevent problems in the future