Okay, I have this homework assignment which is to sort a 2D array of characters using selection sort.

I've written the selection sort but I can't seem to get it working. (it's not sorting!)

Please tell me what I'm doing wrong, thanks.

[code=c]
void selectionSort(c har array[][SIZE], int rows)
{
const int size = 17;
int startScan, minIndex, index;
char minValue[NUM_NAMES][size];...