analyze sorting algorithms by putting them in a neat graph