i have this struct
struct StudentRec
{
int age;
string name;
int id;
};
and two overloaded functions
void Sort(StudentRec student[].id); //here the problem
void Sort(StudentRec student[].age); //here too

how can i write two overloaded Functions and pass specific field from struct