Correct colors in sorting table and add heapsort