---
title: "uploadPane.sortOrder Property  HTML5/Flash Uploader JavaScript"
canonical: https://www.aurigma.com/docs/us8/FH_P_J_$au_uploadPane_sortOrder.htm
product: "Upload Suite 8"
---

# uploadPane.sortOrder Property HTML5/Flash Uploader JavaScript

Supported technologies:
 
Gets or sets a value specifying whether items should be sorted ascendantly or descendantly when you use [sortMode](https://www.aurigma.com/docs/us8/FH_P_J_$au_uploadPane_sortMode.htm.md) is used.

## Syntax
 
```
$au.imageUploaderFlash({
    uploadPane: {
        //...other params...
        sortOrder: "Asc",
        //...other params...
    }
})
```

```
$au.imageUploaderFlash('uploaderID').uploadPane().sortOrder(value);
value = $au.imageUploaderFlash('uploaderID').uploadPane().sortOrder();
```
 
### Property Value
 
Type: **String**
 
The sort direction for the upload pane.
 
The following values are supported:
 
| Value | Description |
| --- | --- |
| **Asc** | Items are sorted ascendantly (smallest to largest). |
| **Desc** | Items are sorted descendantly (largest to smallest). |
 
Default value is **"Asc"**.

## 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
 
- [sortMode Property](https://www.aurigma.com/docs/us8/FH_P_J_$au_uploadPane_sortMode.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.SortOrder ASP.NET Property HTML5/Flash Uploader](https://www.aurigma.com/docs/us8/FH_P_Aurigma_ImageUploaderFlash_UploadPane_SortOrder.htm.md)
- [UploadPane.SortOrder PHP Property HTML5/Flash Uploader](https://www.aurigma.com/docs/us8/FH_P_P_UploadPane_SortOrder.htm.md)
