Fixed minheap; tested for asc/dsc integers.