R/getNodeRanking.R
sort.GRiwrm.Rd
It Uses getNodeRanking for determining the best order for calibration and leaves direct injection nodes at the tail of the list.
# S3 method for class 'GRiwrm'
sort(x, decreasing = FALSE, ...)
A GRiwrm object (See CreateGRiwrm)
logical. Should the sort be increasing or decreasing? Not available for partial sorting.
arguments to be passed to or from methods or (for the
default methods and objects without a class) to sort.int
.
The sorted GRiwrm object in upstream-downstream order ready for Calibration