text: In reverse ( ) , the first parameter is iterator to beginning element and second parameter is iterator to last element plus one .
code: Arrays . sort ( arr , 0 , start ) ; Arrays . sort ( arr , start , n ) ; Arrays . sort ( arr ) ; }