void sortArray(int score,int count) //store array addr & size
{
int hold, a, b, nums; // a and b are subscripts
for(a = 0; a < count-1; a++) //start first loop with 0
{
for(b = a+1; b < count; b++) //start second loop with 1
{
if(nums[a] > nums[b]) //compare nums[0] to nums[1]
{
hold = nums[a]; // if first is bigger
nums[a] = nums[b]; // swap the two
nums[b] = hold;
}
}
}
}