Right I have a 2D array and stored in one of the elements... is the values 1 / 0........ What I want to be able to do is the print the array if the value is 1 ////////////// and have another sort to print the array if the value is ==0 ......... Any ideas at the moment I am running 3 other qsorts in the same program. along the lings of this
switch(sort) {

case 'a':

case 'A':

qsort(a, n, sizeof(SLIST), sort_id);

}

the information for this required sort stated above is stored in

scanf("%d",&a[i].sex);

thanks for your time