---
title: "uploadPane.sortMode Property  HTML5/Flash Uploader JavaScript"
canonical: https://www.aurigma.com/docs/us8/FH_P_J_$au_uploadPane_sortMode.htm
product: "Upload Suite 8"
---

# uploadPane.sortMode Property HTML5/Flash Uploader JavaScript

Supported technologies:
 
Gets or sets a value specifying how the items are sorted in the upload list.

## Syntax
 
```
$au.imageUploaderFlash({
    uploadPane: {
        //...other params...
        sortMode: "Unsorted",
        //...other params...
    }
})
```

```
$au.imageUploaderFlash('uploaderID').uploadPane().sortMode(value);
value = $au.imageUploaderFlash('uploaderID').uploadPane().sortMode();
```
 
### Property Value
 
Type: **String**
 
The sort mode for the upload pane.
 
The following values are supported:
 
| Value | Description |
| --- | --- |
| **Name** | Items are sorted alphabetically. |
| **Size** | Items are sorted by file size. |
| **Type** | Items are sorted by mime types. |
| **Modified** | Items are sorted by last modified date. |
| **Path** | Items are sorted by path (makes sense only when you upload folders). |
| **Unsorted** | Items are not sorted automatically. |
 
Default value is **"Unsorted"**.

## Remarks
 
Items are automatically arranged when they are added to the upload list. You can use the [sort(String, String)](https://www.aurigma.com/docs/us8/FH_M_J_$au_uploadPane_sort_2_393e8f3d.htm.md) method to force items to be sorted with the required mode and order.

## See Also
 
### Reference
 
- [sortOrder Property](https://www.aurigma.com/docs/us8/FH_P_J_$au_uploadPane_sortOrder.htm.md)
- [sort(String, String) Method](https://www.aurigma.com/docs/us8/FH_M_J_$au_uploadPane_sort_2_393e8f3d.htm.md)
- [Aurigma.ImageUploaderFlash.UploadPane.SortMode ASP.NET Property HTML5/Flash Uploader](https://www.aurigma.com/docs/us8/FH_P_Aurigma_ImageUploaderFlash_UploadPane_SortMode.htm.md)
- [UploadPane.SortMode PHP Property HTML5/Flash Uploader](https://www.aurigma.com/docs/us8/FH_P_P_UploadPane_SortMode.htm.md)
