Skip to content

What pixel sorting is and how to use it

Pixel sorting rearranges runs of bright pixels by brightness, turning highlights into streaks. What the threshold does, which photos work, how to sort vertically, and how to limit it to one part of the image.

Intermediate2 min readUpdated 27 September 2026Effects · Pixel Sort

On this page
Loading the example…

Choosing the threshold

ThresholdResultGood for
70 to 90Only highlights streak; the photo stays readableA subtle glitch on portraits and products
45 to 70Skies and light backgrounds melt; the subject survivesPosters, album art
Under 45Most of the image becomes streaksAbstract backgrounds, textures

Sort vertically

The effect always sorts left to right. For vertical streaks (dripping, falling light), turn the image first and bake the result before turning it back, because a filter layer re-runs on whatever is below it:

  1. Image, Image rotation, Rotate 90° clockwise.
  2. Add Filter, Distort, Pixel Sort and set the threshold.
  3. Select the filter layer and Layer, Merge down so the sort becomes pixels.
  4. Image, Image rotation, Rotate 90° anticlockwise. The streaks now run vertically.

Sort only part of the image

A filter layer can take a mask. Add the Pixel Sort filter, then add a layer mask to it and paint black over the parts that should stay untouched, such as a face. Or select the subject first with Select, Subject and use Mask hiding the selection on the filter layer, so everything except the subject sorts.

Why does nothing happen on my photo?

The threshold is above the brightest part of the image. Lower it until the highlights start to move.

Does Randomize change the sort?

Not in the current version. Pixel sorting is deterministic: the same image and threshold always give the same result.

Open Effects

Was this guide useful?