I would like to sort the rows of a QTableWidget. The cell I want to sort on contains an icon indicating either an online or offline device (along with accompanying tooltip). I don't want to put visible text into that cell (I want the cell to have a small width) but would like to sort the rows based upon online status.

First question, can there be hidden text in a cell?
If so, can a sort be accomplished using hidden text?

[IMG]C:\Documents and Settings\mclark\My Documents\My Pictures\online.jpg[/IMG]