Böylece Ive verilerin oldukça büyük bir dizi var ve iki ölçüte göre sıralamak gerekir.
Değişken $data['important'] ve $data['basic'] bulunmaktadır.
They are simple numbers and I am using uasort to sort 
$data firstly by important and then by basic.
Bu yüzden
Important | Basic
10        | 8
9         | 9
9         | 7
7         | 9
Usort işlevi basit bir
public function sort_by_important($a, $b) {
        if ($a[important] > $b[important]) {
            return -1;
        } 
        elseif ($b[important] > $a[important]) {
            return 1;
        } 
        else {
            return 0;
        }
    }
Ben nasıl olur da ikinci değişkene dizi yeniden sıralamak ve Önemli sipariş tutmak?
Herkese teşekkürler.
EDIT
How about adding a third sorting option after this even? Bu yüzdenImportant > Basic > Less