included descending option in private _sort