6
6

8
fish

-5


This is the normal order of the array using print_r:
Array ( [0] => 0 [1] => john [2] => -6.5 [3] => andy [4] => Array ( [0] => mick [1] => apple ) [5] => [6] => 6 )

This is a ASORT functions:
Array
(
    [2] => -6.5
    [0] => 0
    [5] => 
    [6] => 6
    [3] => andy
    [1] => john
    [4] => Array
        (
            [0] => mick
            [1] => apple
        )

)


This is a SORT functions:
Array
(
    [2] => -6.5
    [0] => 0
    [5] => 
    [6] => 6
    [3] => andy
    [1] => john
    [4] => Array
        (
            [0] => mick
            [1] => apple
        )

)


dog, cat, bird, fish, 0, 1.0E-7

Array
(
    [0] => spmething.com
    [1] => products
    [2] => shoes
    [3] => athletic
    [4] => index.php
)