Order of directory entries


Overview

Defined in

cfile.oxh

Description

<TBS>


KSortNone% No sorting takes place
KSortByName% Sort alphabetically by file or directory name
KSortByExt% Sort according to alphabetic order of file extension. Files without an extension take precedence over files with. For files with the same extension or without an extension, the default is to sort by name.
KSortBySize% Sort according to file size
KSortByDate% Sort according to files' last modified time and date. By default, most recent last.
KSortByUid% Sort according to file UID

The sort order may be OR’ed with one of the following sort flags;

KDirsAnyOrder% Directories listed in the order in which they occur. The default.
KDirsFirst% Directories come before files in sort order
KDirsLast% Files come before directories in sort order

Additionally, it may be OR’ed with one of;

KAscending% Ascending sort order for files (the default)
KDescending% Descending sort order for files.
KDirDescending% Descending sort order for directories (i.e. from Z to A).