I have an array with the following structure:

Array
(
    [0] => Array
        (
            [name] => images
            [type] => dir
        )

    [1] => Array
        (
            [name] => includes
            [type] => dir
        )

    [2] => Array
        (
            [name] => index.php
            [type] => file
        )

    [3] => Array
        (
            [name] => index.tpl.php
            [type] => file
        )

    [4] => Array
        (
            [name] => lib
            [type] => dir
        )
}

I want to array_multisort this array so it becomes sorted by type
first, and then by name. What are the arguments for the function in
this case?

Joachim



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to