Sort problems

Maybe if the columns are the same it should finally compare p[i].Text and p[j].Text?