using System.Collections.Generic;
public static void Main()
var list = new List<string>{ "A", "B", "C", "E", "F"};
int cIndex = list.FindIndex(c => c == "C");
Console.WriteLine(cIndex);
isAboveC = (i <= cIndex) ? 0: 1,
isNetflix = (x == "C") ? 0 : 1,
isLastAdded = (x == "F") ? 0 : 1,
.OrderBy(x => x.isAboveC)
.ThenBy(x => x.isLastAdded)