You could use the Linq OrderBy method:
class student
{
public int marks;
public student(int mark) { marks = mark; }
}
void myButton_Click(object sender, EventArgs e)
{
List<student> list = new List<student>();
list.Add(new student(7));
list.Add(new student(3));
list.Add(new student(5));
list.Add(new student(88));
list.Add(new student(2));
list.Add(new student(963));
list.Add(new student(6));
list = list.OrderBy(s => s.marks).ToList();
}