Learn R Programming

R.filesets (version 2.15.1)

sortBy.GenericDataFileSet: Sorts the set

Description

Sorts the set by one of several ordering schema.

Usage

# S3 method for GenericDataFileSet
sortBy(this, by=c("lexicographic", "mixedsort", "mixeddecimal", "mixedroman",
  "filesize"), decreasing=FALSE, caseSensitive=FALSE, ...)

Value

Returns returns itself with the set ordered accordingly.

Arguments

by

A character string specifying the ordering scheme.

decreasing

If TRUE the sorting is done in a decreasing manner.

caseSensitive

If TRUE, the ordering is case sensitive, otherwise not.

...

Not used.

Author

Henrik Bengtsson

Details

The set is ordering by the fullnames. If by="lexicographic", lexicographic ordering is used, sometimes also referred to as alphabetic ordering. If by="mixeddecimal", mixedsort ordering acknowledging decimal numbers is used, cf. mixedsort. If by="mixedroman", mixedsort ordering acknowledging roman numerals is used, cf. mixedsort.

See Also

For more information see GenericDataFileSet.