---
title: "Multi-sorting columns in DataTables"
date: 2026-04-23
author: "GravityKit"
link: "https://www.gravitykit.com/docs/gravityview-pro/datatables/multi-sorting-columns-datatables/"
---

Note: Requires GravityView 2.3 or newer.

Sorting a column in DataTables is as easy as clicking the column header. But what about sorting by more than one column at once?

- Click the table column header to sort by the first column
- While holding down the Shift key on your keyboard, click the second column, you want to sort by

For more detailed examples of how multi-column sorting works, please read the [article on GravityView multi-column sorting](https://www.gravitykit.com/docs/gravityview/filter-and-sort-results/sorting-by-multiple-columns/).