for (int i = 0; i < count; i++)
for (int j = 0; j < count; j++)
if (ob[i].clas[0] < ob[j].clas[0]) {
tem = ob[i];
ob[i] = ob[j];
ob[j] = tem;
}