title: QTableWidget setSortingEnabled on specific column Qt
body: <p>I have a table widget that contains 2 columns. The first column contains timestamps, and the 2nd column contains the message that corresponds with the timestamp. I want the user to be able to click on the header for the timestamp column and reverse the order. I also want the user to be able to click on the message header and have all the messages be put in alphabetical order. Using setSortingEnabled works perfectly for the message header, but due to the format of the timestamp, this will not sort the timestamps correctly. Is there a way to setSortingEnabled() on just the messages column, and when the user clicks on timestamp header it calls a custom function that sorts?</p>