exported `anyDuplicated`. Added `decreasing=T/F` argument to DT[order(…)] optimisation, with tests.
More fixes for DT[order(…)] issues. Thanks for spotting and for the suggestions Matt. Everything except `na.last` argument should work well now.