heapsort now works fine for pointers .....