Extracted from `order` processing of arguments, and use it for `reorder` to be consistent.