FmSortMode

## FmSortMode FmSortMode |

## Synopsis

    #define             FM_SORT_DEFAULT
    #define             FM_SORT_IS_ASCENDING                (mode)
    enum                FmSortMode;

## Description

## Details

### FM_SORT_DEFAULT

    #define FM_SORT_DEFAULT ((FmSortMode)-1)

value which means do not change sorting mode flags.

### FM_SORT_IS_ASCENDING()

    #define FM_SORT_IS_ASCENDING(mode) ((mode & FM_SORT_ORDER_MASK) == FM_SORT_ASCENDING)

### enum FmSortMode

    typedef enum {
        FM_SORT_ASCENDING = 0,
        FM_SORT_DESCENDING = 1 << 0,
        FM_SORT_CASE_SENSITIVE = 1 << 1,
        FM_SORT_NO_FOLDER_FIRST = 1 << 2,
        FM_SORT_ORDER_MASK = (FM_SORT_ASCENDING|FM_SORT_DESCENDING)
    } FmSortMode;

Sort mode flags supported by FmFolderModel

`FM_SORT_ASCENDING` | sort ascending, mutually exclusive with FM_SORT_DESCENDING
`FM_SORT_DESCENDING` | sort descending, mutually exclusive with FM_SORT_ASCENDING
`FM_SORT_CASE_SENSITIVE` | case sensitive file names sort
`FM_SORT_NO_FOLDER_FIRST` | (since 1.2.0) don't sort folders before files
`FM_SORT_ORDER_MASK` | (FM_SORT_ASCENDING|FM_SORT_DESCENDING)

Since 1.0.2