“sort” parameter

When the sort parameter is not specified in the URL, data is sorted according to the first metric, in decreasing order.

Examples:

Sort by increasing order:

&sort={m_visits}

Sort by decreasing order:

&sort={-m_visits}

To have a multi-sort, you need to specify all columns in the order of the sorting to be applied, separating them with a comma.

Example:

&sort={-m_visits,-m_page_views}

Important: The metrics or dimensions entered in “sort” must be present in “columns

Last update: 09/08/2017