Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Sort a Report in Data Export

How to Sort a Report in Data Export

You can sort any column in your report to put the rows in order. Sort in ascending order to go from smallest to largest or from A to Z. Sort in descending order to go from largest to smallest or from Z to A. You can also sort by more than one column and choose how many rows to show.

Sort a column in ascending order

Ascending order puts the smallest number or the first letter at the top.

  • Numbers go from smallest to largest, such as 1, 2, 3.

  • Text goes in alphabetical order, from A to Z.

For example, if you sort by Product title in ascending order, products starting with A show first:

Product title

Airbus Scale Model

Airplane Painted Vintage

Canvas Tote Bag

Coffee Mug

Gift Card

Sort a column in descending order

Descending order puts the largest number or the last letter at the top.

  • Numbers go from largest to smallest, such as 3, 2, 1.

  • Text goes in reverse alphabetical order, from Z to A.

For example, if you sort by Product title in descending order, products starting with letters near Z show first:

Product title

Gift Card

Coffee Mug

Canvas Tote Bag

Airplane Painted Vintage

Airbus Scale Model

Sort by more than one column

You can sort by two or more columns at the same time, and each column can use its own order. The report sorts by the first column you choose. If two rows have the same value in that column, the report then sorts them by the next column.

For example, sort by Product title in ascending order, then by Net quantity in descending order:

Product title
Net quantity

Classic T-Shirt

5

Classic T-Shirt

2

Classic T-Shirt

1

Coffee Mug

3

Coffee Mug

1

The products are in A to Z order. For each product, the rows with the highest quantity show first.

Choose how many rows to show

After you sort a report, you can limit how many rows it shows. Choose one of these options:

  • Top 10

  • Top 25

  • Top 50

  • Top 100

  • All, to show every row on the same page

The row limit works best with sorting. For example, sort by Net quantity in descending order and choose Top 10 to see your 10 best-selling items.

Last updated