I have an IEnumerable collection. Lets say it contains 5 points (in reality it is more like 2000)
IEnumerable
I want to order this collection so that a spe
var list = new[] { 1, 2, 3, 4, 5 }; var rotated = list.Skip(3).Concat(list.Take(3)); // rotated is now {4, 5, 1, 2, 3}