Linq
C Sharp
Various linq queries
Sorting a list from another list IDs
docs = docs.OrderBy(d => docsIds.IndexOf(d.Id)).ToList();
Various linq queries
Sorting a list from another list IDs
docs = docs.OrderBy(d => docsIds.IndexOf(d.Id)).ToList();