rails/rails — pull request #11958 by pftg (2013-08-21 07:57:42+00:00)
Title: Re-use order arguments pre-processing for reorder

In order to be consistent with `order`, `reorder` should have the same pre-processing logic for arguments as `order` does.

Extracted from `order` processing of arguments and use it for `reorder`.