In this code snippet you can see how to set a B4XTable column sort-able and/or searchable:
If tablename = "category" Then
Dim column As B4XTableColumn = B4XTbl1.GetColumn("[name]")
column.Searchable = False
column.Sortable = False
End If
The if-statement is there in case you use the B4XTable for more than one database table.
Note that the field name is between [ ].
So to answer your question: yes it is possible.
Happy coding!