PHP Array Group and sum
<p>This is my array:</p>

<pre><code>Array ( [1] =&gt; Array ( [great] =&gt; 5 ) [2] =&gt; Array ( [great] =&gt; 3 ) [4] =&gt; Array ( [bad] =&gt; 5 ) [5] =&gt; Array ( [calling] =&gt; 4) [6] =&gt; Array ( [great] =&gt; 3 ) [2] =&gt; Array ( [bad] =&gt; 3 ))
</code></pre>

<p>I want to get this, sum of same names:</p>

<p>great:<strong><code>11</code></strong><br>
bad:<strong><code>8</code></strong><br>
calling:<strong><code>4</code></strong></p>

<p>And also to order from highest sum to lowest.</p>

<p>Any help?</p>