[Solved] Sort list on 3 values [closed]


You can use OrderBy followed by ThenBy.

var result = MyCollection.OrderBy(x => x.CategoryCounter)
                         .ThenBy(y => y.GroupCounter)
                         .ThenBy(z => z.QuestionCounter);

1

solved Sort list on 3 values [closed]