Why can't we use minHeap for heapSort?

In the above video you are building maxHeap to sort the array.Why can’t we use minHeap to sort the array as minHeap gives us min element?

hello @priya_Jain

its upto us how we want to sort our array.
if we will use max heap then array will sorted in ascedning order.

if we will use min heap then array will be sorted in descending order