Detect clicks on th instead. Use ctrl key to sort multiple collumns.