Original Post
I have a struct as follows
struct obj
{
int id;
float value;
};
obj objs[10];
I want to use std::sort to sort the objs array according to its value variable
-CProgrammer