Remove sort action from form elements on table head cells

This removes the sort action when the element thar fires the event is:
- input (this includes any type of input, text, radio, checkbox, etc)
- button
- select
- textarea