## Aurigma Image Uploader 7.0.11

# folderPane.sortMode Property

- Collapse All Sections
- See Also
- Language Filter ( all languages )
- Supported browsers:

Gets or sets a sort mode of the folder pane.

## Syntax

### JavaScript

### Initialize

    $au.uploader({
        folderPane: {
            //...other params...
            sortMode: "Name",
            //...other params...
        }
    })

### Get/Set Value at Runtime

    $au.uploader('uploaderID').folderPane().sortMode(value);
    value = $au.uploader('uploaderID').folderPane().sortMode();

### Property Value

Type: String

The sort mode of the folder pane.

The following values are supported:

Value | Description
--- | ---
Unsorted | Items are unsorted.
Name | Items are sorted by name alphabetically.
Size | Items are sorted by file size.
Type | Items are sorted by file type alphabetically.
Modified | Items are sorted by the date of last modification.
Path | Items are sorted by full path.
Dimensions | Items are sorted by image dimensions.

Note

The sort mode cannot be set to Unsorted value manually.

Default value is "Name".

## Remarks

Sort mode is automatically reset to Unsorted when new items are added or re-arranged via drag-n-drop.

Note

If you set the same value twice, the sort order will toggle between ascending and descending and vice versa.

## See Also

### Reference

- Aurigma.ImageUploader.FolderPane.SortMode ASP.NET Property
- FolderPane.SortMode PHP Property