Internal function of multiplot.phylo4d. Reordering vector or matrix of settings and check for names consistencies.
.orderGrArg(x, n.tips, n.traits, new.order, tips, default)
An ordered vector or matrix. An error if problem of consistency.
a vector or a matrix to order.
number of tips.
number of traits
a numeric vector giving the new order.
a character vector giving the tips labels (with the new order)
the default value