# AcroForms.FormChoiceField.Sort Property

> Specifies whether the list can be sorted.

- **Product:** TX Text Control .NET for WPF
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 29.0
- **Namespace:** `TXTextControl.DocumentServer.PDF.AcroForms`
- **Package:** `TXTextControl.TextControl.WPF.SDK` (assembly `TXDocumentServer.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXDocumentServer.dll` from the setup
- **Path:** TX Text Control .NET for WPF > Reference > TXTextControl.DocumentServer.PDF > AcroForms.FormChoiceField.Sort Property
- **344 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-pdf/acroforms-formchoicefield/sort-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-pdf/acroforms-formchoicefield/sort-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-pdf/acroforms-formchoicefield/sort-property/llms-full.txt

---

### Description

Specifies whether the list can be sorted.

### Syntax

```csharp
public bool Sort { get; set; }
```

```vbnet
Public Property Sort As Boolean
```

### Examples

The following example uses `FormChoiceField.Sort` to configure sort as part of the form choice field workflow. The configured value is checked before the workflow continues.

```csharp
formChoiceField.Sort = true;
if (formChoiceField.Sort)
{
    Console.WriteLine("Form Choice Field: Sort is enabled.");
}
```

```vbnet
formChoiceField.Sort = True
If formChoiceField.Sort Then
    Console.WriteLine("Form Choice Field: Sort is enabled.")
End If
```

---

## Nearby

- **Previous:** [AcroForms.FormChoiceField.Options Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-pdf/acroforms-formchoicefield/options-property/llms-full.txt)
- **Next:** [AcroForms.FormChoiceField.Value Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-pdf/acroforms-formchoicefield/value-property/llms-full.txt)
