a sequence of numeric, complex, character or logical vectors, all of the same length, or a classed R object.
fdataobj
fdata class object.
na.last
for controlling the treatment of NAs. If TRUE, missing values in the data are put last; if FALSE, they are put first; if NA, they are removed; if "keep" they are kept with rank NA.
decreasing
logical. Should the sort order be increasing or decreasing?.
Value
order.fdata returns the functional data fdataobj w.r.t. a permutation which rearranges its first argument into ascending or descending order.