Ascending sorting of results of JAGSrun object with
model of class BMMmodel with respect to a given variable.
Sort(x, by = NULL)The input object with results sorted in ascending order according
to the variable given in by is returned.
a JAGSrun object with model of class BMMmodel.
variable name according to which the segments shall be ordered.
Bettina Gruen
If there arise problems, the original object is returned with a warning.
If by is not specified, the first variable in the
corresponding vector of the JAGSrun object is taken.