In the table below, `$count1` is a numerical value. How do I sort the table by `$count1` descending?

```
        $words = explode(" ", $commentstring);
        $result = array_combine($words, array_fill(0, count($words), 0));

        foreach($words as $word) {
        $result[$word]++;
        }

        echo "<table>";

        foreach($result as $word => $count1) {

        echo '<tr>';    
        echo '<td>';
        echo "$word";
        echo '</td>';

        echo '<td>';
        echo "$count1 ";
        echo '</td>';

        echo '</tr>';

        }

        echo "</table>";

```