Ive got a task in C to sort a struct by using qsort
struct user {
enum SEX{m, f} sex;
char name[32];
char phonenr[32];
};
typedef struct user User;
the users will be stored in a array of 25 elements
but how do i sort them on something like name ?