Sorting part of a collection

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top