fixed a bug on reverseOrderOfResults(), the value assigned to descending was false instead of true