Added ball sorting.

The list of balls is sorted based on x,y position and is coloured dark
to light based on how far away from 0,0 it is.