diff --git a/web-console/src/views/query-view/query-output/query-output.tsx b/web-console/src/views/query-view/query-output/query-output.tsx index a1da2c07c53..b57811dbc56 100644 --- a/web-console/src/views/query-view/query-output/query-output.tsx +++ b/web-console/src/views/query-view/query-output/query-output.tsx @@ -117,13 +117,6 @@ export class QueryOutput extends React.PureComponent { } if (!basicActions.length) { basicActions.push( - { - icon: IconNames.SORT_ASC, - title: `Order by: ${h} ASC`, - onAction: () => { - onQueryChange(parsedQuery.orderBy(h, 'ASC'), true); - }, - }, { icon: IconNames.SORT_DESC, title: `Order by: ${h} DESC`, @@ -131,6 +124,13 @@ export class QueryOutput extends React.PureComponent { onQueryChange(parsedQuery.orderBy(h, 'DESC'), true); }, }, + { + icon: IconNames.SORT_ASC, + title: `Order by: ${h} ASC`, + onAction: () => { + onQueryChange(parsedQuery.orderBy(h, 'ASC'), true); + }, + }, ); } basicActions.push({