Suppose I have n distinct integers. I want to place these integers in an "array". However, between each element in the "array" is an inequality sign. So, the numbers need to be entered in a fashion that satisfies the inequality. The n distinct integers are in random order. So, how could I do this? Would pre-sorting the integers help, and is so how, because the inequalities could be in any order.