# Sorting and Filtering

> Sort and filter merge block rows in Windows Forms: the Filter and Sort dialog, FilterInstruction, SortingInstruction, Apply and block merging conditions.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Documentation
- **Kind:** Topic
- **Path:** TX Text Control .NET for Windows Forms > Mail Merge and Reporting > Sorting and Filtering
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/mail-merge/sorting-filtering/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/mail-merge/sorting-filtering/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/mail-merge/sorting-filtering/llms-full.txt

---

## On This Page

- [How Sorting and Filtering Works](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/mail-merge/sorting-filtering/#how-sorting-and-filtering-works)
- [Filter and Sort in the Reporting Tab](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/mail-merge/sorting-filtering/#filter-and-sort-in-the-reporting-tab)
- [Filter Instructions](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/mail-merge/sorting-filtering/#filter-instructions)
- [Sorting Instructions](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/mail-merge/sorting-filtering/#sorting-instructions)
- [Set Instructions When Inserting a Block](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/mail-merge/sorting-filtering/#set-instructions-when-inserting-a-block)
- [Change the Block at the Input Position](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/mail-merge/sorting-filtering/#change-the-block-at-the-input-position)
- [Open the Filter and Sort Dialog Box in Code](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/mail-merge/sorting-filtering/#open-the-filter-and-sort-dialog-box-in-code)
- [Merge a Block Only for Matching Parent Rows](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/mail-merge/sorting-filtering/#merge-a-block-only-for-matching-parent-rows)
- [Where the Instructions Are Stored](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/mail-merge/sorting-filtering/#where-the-instructions-are-stored)
- [Next Steps](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/mail-merge/sorting-filtering/#next-steps)

---

## Nearby

- **Previous:** [Conditional Content](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/mail-merge/conditional-content/llms.txt)
- **Next:** [Formatting and Styling](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/mail-merge/styling/llms.txt)
