so basically I\'m trying to implement a heapsorting algorithm in C, I always use a sentinel node at arr[0], keep that in mind. I\'m having a weird
sentinel node
arr[0]