Heap Sort uses a max heap to sort the values of an array in ascending order. code example Example: is an array that is in sorted order a min-heap A sorted array is a min heap