Sort by due date, and submission date
This commit is contained in:
parent
a8f7b94e6c
commit
538490087d
@ -236,7 +236,8 @@ namespace EduNetworkBuilder
|
||||
/// <returns></returns>
|
||||
public TreeNode WorkTree(TreeNode theTop=null)
|
||||
{
|
||||
Projects.Sort((q, p) => p.DueDate.CompareTo(q.DueDate));
|
||||
//Sort by due date, and within the due dates, sort by save date
|
||||
Projects.Sort((q, p) => p.DueDate == q.DueDate ? p.SaveDate.CompareTo(q.SaveDate) : p.DueDate.CompareTo(q.DueDate));
|
||||
|
||||
List<SchoolworkClass> DrawFrom = new List<SchoolworkClass>();
|
||||
List<SchoolworkClass> MasterList = new List<SchoolworkClass>();
|
||||
|
Loading…
Reference in New Issue
Block a user