FileSorting

Criterion to sort files by.

Parameters

sort

lambda that sorts a sequence of files

See also

Entries

Link copied to clipboard

No sorting is applied.

Link copied to clipboard

Files are sorted by name.

Link copied to clipboard

Files are sorted by last modified date.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val sort: (Sequence<File>, Ordering) -> Sequence<File>

Functions

Link copied to clipboard
.valueOf value:{String} -> FileSorting

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard
.values -> Array<FileSorting>

Returns an array containing the constants of this enum type, in the order they're declared.