Fix sorting for conversations