Keytree interview question

Sorting an given array in descending order.