By default, the products in the comparison table are displayed in the same order the user added them to the comparison.
You can automatically change the order for the comparison table in Catalog Settings > Attributes inside the Comparison section.
The Sort products dropdown has four options:
- Default – sorting by comparison group priority or by the same order that the user added them
- Name – sorting by name
- Short Description – sorting by a short description
- SKU – sorting by SKU