Rdatatable/data.table — pull request #938 by matthieugomez (2014-11-09 18:51:15+00:00)
Title: setcolorder works like like setnames

This solves #798 and #592 in a way consistent with how setnames works.
When only one argument is given (beyond the data.table) , setcolorder behavior does the exact same thing as before. However, I renamed this argument from "neworder" to "old" to be consistent with setnames.

A second argument (a numeric vector) can now be specified.