I have 2 queries that I merge into 1. so below key [0] was a user entered
entry and [1] and [2] were selected from a list of options, so if there is a
skill the user has that is not in the available list they can add their own
which is where key [0] came from.

How can I now sort this array so its alphabetical based on the
[Skill][name]?
 
Array
(
    [0] => Array
        (
            [id] => 25
                [Skill] => Array
                (
                    [name] => User entered value
                )

            [Year] => Array
                (
                    [range] => 0 - 6 Months
                )

        )

    [1] => Array
        (
            [id] => 68
            [Skill] => Array
                (
                    [id] => 13
                    [skillset_id] => 1
                    [name] => English
                )

            [Year] => Array
                (
                    [id] => 3
                    [range] => 1 - 3 Years
                )

        )

    [2] => Array
        (
            [id] => 69
            [Skill] => Array
                (
                    [id] => 47
                    [skillset_id] => 5
                    [name] => Math                )

            [Year] => Array
                (
                    [id] => 5
                    [range] => 5 - 10 Years
                )

        )


Thanks,

Dave
 

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to