The number of items in the array is 5
Scores before sort: Array
(
[0] => 95
[1] => 83
[2] => 98
[3] => 87
[4] => 75
)
Originally the array looks like this:
Richard - 95
Sherwood - 82
Tony Stark - 98
Franz - 87
Melissa - 75
Roddy - 85
After asort the array looks like this:
Melissa: 75
Sherwood: 82
Roddy: 85
Franz: 87
Richard: 95
Tony Stark: 98
After ksort the array looks like this
Franz: 87
Melissa: 75
Richard: 95
Roddy: 85
Sherwood: 82
Tony Stark: 98
Product ID Amount 33 1 34 3 10 1