Fix sorting column in table list