add `dir` "desc" option hash to `withSort` helper