starting to build statistical List that sorts x and y values according to their brightness value in ascending order (1 - 255)