This is the following array i am getting...! how could I sort it.
Array
(
    [0] => Array
        (
            [0] => Array
                (
                    [price] => 29.99
                    [params] => 
                    [text] => demotext
                )
            [1] => Array
                (
                    [price] => 22.40
                    [params] => 
                    [text] => demotext
                )
            [2] => Array
                (
                    [price] => 12.95
                    [params] => 
                    [text] => demotext
                )
            [3] => Array
                (
                    [price] => 9.60
                    [params] => 
                    [text] => demotext
                )
        )
    [1] => Array
        (
            [0] => Array
                (
                    [price] => 8.16
                    [params] => 
                    [text] => demotext
                )
            [1] => Array
                (
                    [price] => 7.66
                    [params] => 
                    [text] => demotext
                )
            [2] => Array
                (
                    [price] => 7.19
                    [params] => 
                    [text] => demotext
                )
            [3] => Array
                (
                    [price] => 7.14
                    [params] => 
                    [text] => demotext
                )
        )
As you can see in index 2 array is not sorted beacuse 5.10 should on index [1] and 4.79 on index [2]
[2] => Array
        (
            [0] => Array
                (
                    [price] => 5.99
                    [params] => 
                    [text] => demotext
                )
            [1] => Array
                (
                    [price] => 4.79
                    [params] => 
                    [text] => demotext
                )
            [2] => Array
                (
                    [price] => 5.10
                    [params] => 
                    [text] => demotext
                )
            [3] => Array
                (
                    [price] => 4.20
                    [params] => 
                    [text] => demotext
                )
        )
    [3] => Array
        (
            [0] => Array
                (
                    [price] => 4.08
                    [params] => 
                    [text] => demotext
                )
            [1] => Array
                (
                    [price] => 4.00
                    [params] => 
                    [text] => demotext
                )
            [2] => Array
                (
                    [price] => 3.20
                    [params] => 
                    [text] => demotext
                )
            [3] => Array
                (
                    [price] => 3.19
                    [params] => 
                    [text] => demotext
                )
        )
    [4] => Array
        (
            [0] => Array
                (
                    [price] => 2.86
                    [params] => 
                    [text] => demotext
                )
            [1] => Array
                (
                    [price] => 3.58
                    [params] => 
                    [text] => demotext
                )
            [2] => Array
                (
                    [price] => 2.82
                    [params] => 
                    [text] => demotext
                )
            [3] => Array
                (
                    [price] => 2.90
                    [params] => 
                    [text] => demotext
                )
        )
)
 
     
     
    