SortField object (Excel)
The SortField object contains all the sort information for the Worksheet, ListObject, and AutoFilter objects.
Developers can use the BeforeSort event to override Excel's default behavior and put their own sort algorithm into the application.
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.