adding less than default comparator to heapstort
removing the heap