Added conversion func from int[] to Order[]