Enables sortable tables for this query.
$headers: An array of headers of the same struucture as described in theme_table(). Use a 'specifier' in place of a 'field' to specify what to sort on. This can be an entity or a field as described in condition().
\Drupal\Core\Entity\Query\QueryInterface The called object.
public function tableSort(&$headers);