1、random_shuffle()//随机乱序排序
random_shuffle(ivec.begin(), ivec.end());
2、partition()//不稳定分区
partition(ivec2.begin(), ivec2.end(), not1(bind2nd(modulus<int>(),2)));
3、stable_partition()//稳定分区,分区后都会以原来的相对次序排好
stable_partition(ivec3.begin(), ivec3.end(), not1(bind2nd(modulus<int>(),2)));