sort(开始地址,结束地址,compare)//compare不填按升序
稳定排序
stable_sort(开始地址,结束地址,compare)
static bool compare(int a,int b){ return a>b;//降序 }