Sorting Multiple arrays in Desc order  in PHP
<p>I need to sort following array in desc order by <code>ref_no</code>. Eg: At location <code>[0]</code> there should be property with id <code>16</code> (since it's <code>ref_no</code> is greater) and at <code>[1]</code> property with id <code>10</code>. </p>

<p>*Please note: The size of main array is dynamic and that of Property array remains same.</p>

<pre><code>Array
(
[0] =&gt; Array
    (
        [Property] =&gt; Array
            (
                [id] =&gt; 10
                [member_id] =&gt; 2
                [ref_no] =&gt; 333
             }
     )


  [1] =&gt; Array
    (
        [Property] =&gt; Array
            (
                [id] =&gt; 16
                [member_id] =&gt; 4
                [ref_no] =&gt; 509
             }
     )

 )
</code></pre>
