Load an image and sort its pixels by brightness, hue, or color channel. Pixels within the threshold range get sorted along the chosen direction. Adjust intensity and randomness for different effects.