Sorting of some strings?
<p>I can only imagine that this is fairly simple, and yet the solution eludes me.</p>

<p>Let assume I have the following variables:</p>

<pre><code>$group1 = "5";
$group2 = "1";
$group3 = "15";
$group4 = "3";
$group5 = "7";
$group6 = "1";
$group7 = "55";
$group8 = "0";
$group9 = "35";
</code></pre>

<p>I want the groups listed with the highest amount first e.g.:</p>

<pre><code>Group 7 is number 1 with 55.
Group 9 is number 2 with 35.
Group 3 is number 3 with 15.
Group 5 is number 4 with 7.
Group 1 is number 5 with 5.
Group 4 is number 6 with 3.
Group 2 is number 7 with 1.
Group 6 is number 8 with 1.
Group 8 is number 9 with 0.
</code></pre>

<p>Perhaps it would be easier to list all the data in a double-array and then sort it?</p>
