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