---
title: "FolderPane..::.SortMode Property ActiveX/Java Uploader ASP.NET"
canonical: https://www.aurigma.com/docs/us8/JA_P_Aurigma_ImageUploader_FolderPane_SortMode.htm
product: "Upload Suite 8"
---

# FolderPane.SortMode Property ActiveX/Java Uploader ASP.NET

Supported browsers: ![Internet Explorer](https://www.aurigma.com/docs/us8/icons/ie8.png)![Firefox](https://www.aurigma.com/docs/us8/icons/firefox.png)![Google Chrome](https://www.aurigma.com/docs/us8/icons/chrome.png)![Safari](https://www.aurigma.com/docs/us8/icons/safari.png)
 
Gets or sets a sort mode of the folder pane.
 
**Namespace:** [Aurigma.ImageUploader](https://www.aurigma.com/docs/us8/JA_N_Aurigma_ImageUploader.htm.md)
 **Assembly:** Aurigma.ImageUploader (in Aurigma.ImageUploader.dll)
 
## Syntax
  
```csharp
public PaneSortMode SortMode { get; set; }
```
 
### Property Value
 
Type: [Aurigma.ImageUploader..PaneSortMode](https://www.aurigma.com/docs/us8/JA_T_Aurigma_ImageUploader_PaneSortMode.htm.md)
 
The sort mode of the folder pane.
 
Default value is [Name](https://www.aurigma.com/docs/us8/JA_T_Aurigma_ImageUploader_PaneSortMode.htm.md).
 
## Remarks
  
Sort mode is automatically reset to `Unsorted` when items are rearranged via drag-n-drop or new items are added. It means that when you set a sort mode it is applied only to files which are currently in the folder pane.
 
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

- [FolderPane Class](https://www.aurigma.com/docs/us8/JA_T_Aurigma_ImageUploader_FolderPane.htm.md)
- [Aurigma.ImageUploader Namespace](https://www.aurigma.com/docs/us8/JA_N_Aurigma_ImageUploader.htm.md)
- [$au.folderPane.sortMode JavaScript PropertyActiveX/Java Uploader](https://www.aurigma.com/docs/us8/JA_P_J_$au_folderPane_sortMode.htm.md)
- [FolderPane.SortMode PHP PropertyActiveX/Java Uploader](https://www.aurigma.com/docs/us8/JA_P_P_FolderPane_SortMode.htm.md)
