Image Pixel Sorter

OR

Live bubble sort of the pixels in an image ordered by brightness (sum of red, green and blue).