I've created a search page using Views and 'search api'. I've got my results showing in tabular format with the labels in a above the results returned.

But I can't figure out how to make each label/column header a sort. I want the user to be able to click the label in the column header to then sort that column by ascending/descending.

Anyone know how to make that possible?

  • try using Display: Table.
    – No Sssweat
    Apr 4, 2016 at 2:08
  • You mean format: table? I'm using that already.
    – Sage
    Apr 4, 2016 at 5:07

1 Answer 1


I figured this one out. I have to set the field to 'string' in Search API configuration > index > edit. The default is 'fulltext', which sounds right, but isn't for this usage.

Then you have to change the settings for the format: table to make the field sortable.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.