Fix orderBy(): now resets the ordering.
Fix orderBy(): now resets the ordering.

`orderBy()` replaces the existing ordering array.
`andOrderBy()` adds an extra sorting key.

bjornpost/pheasant,lox/pheasant,judsonco/pheasant