Using Workbench Command

Workbench Command is a set of command-line tools that can be used to perform simple and complex operations within Connectome Workbench.

Full Documentation:

Documentation Home
REORDER THE PARCELS OR SCALAR/LABEL MAPS IN A CIFTI FILE
   wb_command -cifti-reorder
      <cifti-in> - input cifti file
      <direction> - which dimension to reorder along, ROW or COLUMN
      <reorder-list> - a text file containing the desired order transformation
      <cifti-out> - output - the reordered cifti file

      The mapping along the specified direction must be parcels, scalars, or
      labels.  For pscalar or ptseries, use COLUMN to reorder the parcels.  For
      dlabel, use ROW.  The <reorder-list> file must contain 1-based indices
      separated by whitespace (spaces, newlines, tabs, etc), with as many
      indices as <cifti-in> has along the specified dimension.  These indices
      specify which current index should end up in that position, for instance,
      if the current order is 'A B C D', and the desired order is 'D A B C',
      the text file should contain '4 1 2 3'.