Salesforce Report Sort by Record Count: Why the Column Won’t Sort and the Fix

You open a summary report, click the Record Count header, and nothing sorts. Or your report is tabular and there is no count to sort by at all:

Record Count column header: no sort arrow
Tabular report: no "Sort by Record Count" option

The sort lives on the grouping, not on the Record Count column. Open the arrow on the group header (Account Name in our report), choose Sort By, pick Record Count, then Sort Descending.

That is the whole fix for a Salesforce report sort by record count. Below are the reasons it fails, the tabular, chart and filter cases, and how to set the same sort through the API.

This Tutorial Covers: