I have a C# custom object list that I need to sort by two different variables one is a boolean and the other is a string. I can sort by either of the criteria, but
use linq.
if you have list L of objects of class
public class temp { public bool x; public string y; }
then use:
L.orderby(a=>a.x).thenby(a=>a.y);
you can chain it as far as you like.