Mam pole a kazdy jeho index obsahuje dalsi pole.
Jak mohu seradit prvky v poli podle hodnoty klice 'poradi' aby se mi vsak zachovala cela ta struktura?
HlavniPole[0] = Array ( [jmeno] => jan [prijmeni] => novak ['poradi'] => 28 )
HlavniPole[1] = Array ( [jmeno] => jana [prijmeni] => novakova ['poradi'] => 2 )
HlavniPole[2] = Array ( [jmeno] => jfk [prijmeni] => xxx ['poradi'] => 33 )
z toho bych chtel mit tohle
HlavniPole[0] = Array ( [jmeno] => jana [prijmeni] => novakova ['poradi'] => 2 )
HlavniPole[1] = Array ( [jmeno] => jan [prijmeni] => novak ['poradi'] => 28 )
HlavniPole[2] = Array ( [jmeno] => jfk [prijmeni] => xxx ['poradi'] => 33 )