void numpaixu()
{
int i,j,t;
struct file temp;
for(i=0;i<n-1;i++)
for(j=i+1;j<n;j++)
if(f[i].W_number>f[j].W_number)
{
temp=f[i];
f[i]=f[j];
f[j]=temp;
}
printf("排序后的结果为:\n");
printf("\t\t\t\t工号 姓名 性别 年龄 学历 职务 工资 家庭住址\t\t手机号\t\t微信\t\tQQ\t\t常用个人邮箱\n");
printf("\t\t\t-------------------------------------------------------------------------------------------------------------------------------------------\n");
for(t=0;t<count;t++)
printf("\t\t\t\t%-6d%-7s%-6s%-5s%-7s%-7s%-8s%-16s%-17s%-15s%-16s%-14s\n",f[i].W_number,f[i].name,f[i].sex,f[i].age,f[i].xueli,f[i].position,f[i].gongzi,f[i].address,f[i].telephone,f[i].weixin,f[i].QQ,f[i].email);
printf("\t\t\t-------------------------------------------------------------------------------------------------------------------------------------------\n");
system("pause");
printf("\n请按任意键回主菜单......\n");
getchar();
}