src/class-extended-cpt-admin.php
public function sortables( array $cols ) : array {

		foreach ( $this->args['admin_cols'] as $id => $col ) {
			if ( ! is_array( $col ) ) {
				continue;
			}
			if ( isset( $col['sortable'] ) && ! $col['sortable'] ) {
				continue;
			}
			if ( isset( $col['meta_key'] ) || isset( $col['taxonomy'] ) || isset( $col['post_field'] ) ) {
				$cols[ $id ] = $id;
			}
		}

		return $cols;

	}
public function sortables( array $cols ) : array {

		foreach ( $this->args['admin_cols'] as $id => $col ) {
			if ( ! is_array( $col ) ) {
				continue;
			}
			if ( isset( $col['sortable'] ) && ! $col['sortable'] ) {
				continue;
			}
			if ( isset( $col['meta_key'] ) || isset( $col['taxonomy'] ) || isset( $col['post_field'] ) ) {
				$cols[ $id ] = $id;
			}
		}

		return $cols;

	}
public function sortables ( array $ cols ) : array { foreach ( $ this -> args [ 'admin_cols' ] as $ id => $ col ) { if ( ! is_array ( $ col ) ) { continue ; } if ( isset ( $ col [ 'sortable' ] ) && ! $ col [ 'sortable' ] ) { continue ; } if ( isset ( $ col [ 'meta_key' ] ) || isset ( $ col [ 'taxonomy' ] ) || isset ( $ col [ 'post_field' ] ) ) { $ cols [ $ id ] = $ id ; } } return $ cols ; }
Add our custom columns to the list of sortable columns.

@param  array $cols Associative array of sortable columns
@return array       Updated array of sortable columns
Add our custom columns to the list of sortable columns .