Sorting a list in ascending and descending order
<p>I have a collection of integers e.g.</p>

<p><strong>INPUT EXAMPLE</strong></p>

<pre><code>4,7,9,8,20,56,78,34,2,76,84,98
</code></pre>

<p>I need to sort this list in a way that any number til 20 will be sorted in ascending order and above 20 will be sorted in descending order. So output will be :</p>

<p><strong>OUTPUT EXAMPLE</strong> </p>

<pre><code>2,4,7,8,9,20,98,84,78,76,56,34
</code></pre>

<p>I wrote a comparer for it. but now trying for more clean approach may be by using the existing tools like orderby.</p>