void sort (int list[MAX_ELTS], int first, int last)can operate like this: IF (first < last)
int minLoc(int list[MAX_ELTS], int first, int last)It could operate like this:
assign: minLocation <-- first ; FOR each index j first+1 to last IF list[j] is smaller than list[minLocation] THEN assign minLocation <-- j RETURN minLocation