Hi,
I develop a ranking system. I got the following array:
[1] => Array
    (
        [botarin - Branding und Kommunikation] => 1
        [Raiffeisen Kredit 2 Go] => 2
    )
[2] => Array
    (
        [Kindersteckdosen] => 1
        [Surf lieber mit bob] => 1
        [Lafarge Imageinserate] => 1
        [MCG Messecongress Graz Inserate] => 1
    )
1,2 is the category id, then there are names of projects and for each project the amount of votes. how can i sort the array, so the category ids stay sorted like this, but the project names rank by the amount of votes descending?
any ideas?
thanks in advance!