Preview Changes will not be visible to customers until published.


Available as of Gravity Flow 2.7

The gravityflow_sort_columns_status_table filter allows custom columns defined in gravityflow_field_value_status_table to be sorted.


Parameter Type Definition
$sortable Array The set of columns which are sortable for status page.


Example 1 - Define a custom column to be sortable.

A custom meta column, defined through gform_entry_meta, would also use gravityflow_columns_status_table to display the custom column,  gravityflow_field_value_status_table to display the custom meta value in the column. Possibly also with gravityflow_sort_criteria_status to define a default sort behaviour.

add_filter( 'gravityflow_sort_columns_status_table', 'custom_sort_columns', 10, 1 );
function custom_sort_columns( $sortable ) {
    //The array key must match a gravityflow_field_value_status_table filtered entry
    //The array value must match an entry meta or field ID
    $sortable['priority'] = array( 'priority', true );
    return $sortable;


This code should be placed in the functions.php file of your active theme or in a custom functions plugin.