Static Variable

Script 1.4 - sort_1_4.php

Interation 1: Steve vs. Vance

Interation 2: David vs. Steve

Interation 3: Steve vs. Stephen

Interation 4: Steve vs. Jon

Interation 5: Steve vs. Rob

Interation 6: Samantha vs. Steve

Interation 7: Stephen vs. David

Interation 8: Stephen vs. Samantha

Interation 9: Stephen vs. Jon

Interation 10: Rob vs. Stephen

Interation 11: David vs. Rob

Interation 12: Jon vs. David

Interation 13: Samantha vs. David

Interation 14: Rob vs. David

Interation 15: Samantha vs. Rob

Interation 16: Jon vs. Samantha

Interation 17: Rob vs. Jon

Array Sorted by Name

Array
(
    [50] => Array
        (
            [name] => David
            [grade] => 100
        )

    [256] => Array
        (
            [name] => Jon
            [grade] => 98.5
        )

    [68] => Array
        (
            [name] => Rob
            [grade] => 74.6
        )

    [125] => Array
        (
            [name] => Samantha
            [grade] => 99
        )

    [9] => Array
        (
            [name] => Stephen
            [grade] => 94
        )

    [364] => Array
        (
            [name] => Steve
            [grade] => 85.1
        )

    [2] => Array
        (
            [name] => Vance
            [grade] => 85.1
        )

)
 

Array Sorted by Grade

Array
(
    [50] => Array
        (
            [name] => David
            [grade] => 100
        )

    [125] => Array
        (
            [name] => Samantha
            [grade] => 99
        )

    [256] => Array
        (
            [name] => Jon
            [grade] => 98.5
        )

    [9] => Array
        (
            [name] => Stephen
            [grade] => 94
        )

    [2] => Array
        (
            [name] => Vance
            [grade] => 85.1
        )

    [364] => Array
        (
            [name] => Steve
            [grade] => 85.1
        )

    [68] => Array
        (
            [name] => Rob
            [grade] => 74.6
        )

)