question: get the n-th value in the array after sorted concode_field_sep PlaceHolder placeHolder concode_field_sep double getOrderedValue concode_elem_sep int getMinValueIndex concode_elem_sep void locate concode_elem_sep void swap concode_elem_sep int getMaxValueIndex
target: double function ( double [ ] arg0 , int arg1 , boolean arg2 ) { if ( arg1 > arg0 . length ) { arg1 = arg0 . length ; } int loc0 ; if ( arg2 ) { loc0 = arg1 ; } else { loc0 = arg0 . length - arg1 ; } double loc1 = getOrderedValue ( arg0 , loc0 ) ; return loc1 ; }