Getting error or garbage while Sorting members of structure in cplusplus please help me.
Can any one please help me to sort the array based on first value of 2d arra