---
title: "How to disable the sorting control on one table column?"
date: 2026-04-23
author: "GravityKit"
link: "https://www.gravitykit.com/docs/gravityview/customizing-your-views/how-to-disable-the-sorting-control-on-one-table-column/"
---

This feature is available since GravityView version 1.7+

The table column sorting feature is the possibility to order the view entries by clicking on the column header sorting arrows. Learn [how to enable this feature](https://www.gravitykit.com/docs/gravityview/filter-and-sort-results/enabling-the-table-column-sorting-feature/) in your View.

![Table with sortable columns for Entry ID, Entry Date, Email; Summary column sorted with no control](https://www.gravitykit.com/wp-content/uploads/2025/10/file-m1tZjn120P.png)
*To disable the up/down arrows on one specific column of your table (which corresponds to a form field), you'll need to add the following line into your theme's functions.php file (*[how to](https://www.gravitykit.com/docs/gravityview/customizing-your-views/where-to-put-code-samples/)):

```
// Disable column sorting for form ID

# 4 and field ID

# 37
add_filter( 'gravityview/sortable/formfield_4_37', '__return_false' );
```

```
// Disable column sorting for form ID

# 4 and field ID

# 37
add_filter( 'gravityview/sortable/formfield_4_37', '__return_false' );
```

or, if you don't want to specify the form id:

```
// Disable column sorting for field ID

# 37 (any form)
add_filter( 'gravityview/sortable/field_37', '__return_false' );
```

```
// Disable column sorting for field ID

# 37 (any form)
add_filter( 'gravityview/sortable/field_37', '__return_false' );
```