code: private ColumnDefinition[] columnDefinitions(ColumnDefinition[] columns, String[] order)
     {
        Map<String, ColumnDefinition> map = makeColumnMap(columns);
        ColumnDefinition[] result = new ColumnDefinition[order.length];
        for (int index = 0; index < order.length; index++)
        {
           result[index] = map.get(order[index]);
        }
        return result;
     }
docs: Generate an ordered set of column definitions from an ordered set of column names.
  
  @param columns column definitions
  @param order column names
  @return ordered set of column definitions