你的那个判断没对
```c
if(file[j].today.year<file[j].today.year){ //这里是一样的 永远小于不了 大意了吧~
temp = file[j];
file[j] = file[j+1];
file[j+1] = temp;
}
if(file[j].today.year<file[j + 1].today.year){ // 后面个改成 j+1就可以了
temp = file[j];
file[j] = file[j+1];
file[j+1] = temp;
}
```