Driver Code
public static void main ( String [ ] args ) { int arr [ ] = { 7 , 6 , 8 , 9 , 0 , 1 , 2 , 2 , 1 , 8 , 9 , 6 , 7 } ; int N = arr . length ; int K = 6 ; sortArrayInDescAsc ( arr , N , K ) ; } }