Add heap sort and max/min k number algorithm