pixel sorting
also: pixelsortpixel sort
An image-processing technique that reorders pixels along rows or columns by brightness, hue or saturation, producing streaked, melting bands of colour.
how it works
A pixel-sorting script scans each row or column of an image, picks out runs of pixels that meet a threshold — for example, everything brighter than a given value — and sorts each run by a property such as brightness or hue. Unsorted areas stay sharp; sorted ones stretch into smooth gradients, as if the image were dripping or being pulled through a slot.
Artists tune thresholds, direction and masks to control where the image holds together and where it liquefies.
history
The technique was popularised by Kim Asendorf's ASDF Pixel Sort, a Processing script released in 2010, and quickly became one of the most recognisable looks in glitch art — then in album covers, fashion and advertising.