Sorting part of a collection

  • Thread starter Thread starter mick
  • Start date Start date
M

mick

Given we have a collection of something (say ints) 1,2,3,4,5,7,9,6,8

is it possible to sort the last 4 ints of the collection without changing the
order of the first 5?

Something along the lines of collection.SkipTheFirst5Items.SortTheLast4.

Using Linq if possible.

mick
 
Back
Top