public unsafe static void SortWhole(PixelWrapper Image) { Pixel[] px = Image.FastGetPixels(); Array.Sort(px); Image.FastSetPixels(px); }