Finished heap sorting