Using boolean, not array in qSort.js