Driver code
public static void Main ( ) { int [ ] vec = { 8 , 2 , 7 , 1 , 5 , 9 } ; int [ ] op = { ' > ' , ' > ' , ' < ' , ' > ' , ' < ' } ; int [ ] result = orgazineInOrder ( vec , op , vec . Length ) ; for ( int i = 0 ; i < result . Length ; i ++ ) { Console . Write ( result [ i ] + " ▁ " ) ; } } }