Remove sort action from form elements on table head cells

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