bring up the folder that contains the messages you want to sort into groups.
Go toView>Sort Byand elect the parameter by which you want your emails sorted.
In this example, we’ll choose to sort by whether the emails have attachments.

Thunderbird’s main menu is also accessible through the three-line menu button near the upper-right corner.
Not all the options by which it’s possible for you to sort a Thunderbird folder support grouping.
For example, sort orders that do not allow grouping includeSizeandJunk Status.

