i know that partition algorithm partitions the container into 2 parts by the predicate argument without sorting each part;
but stable_partition sorts each part.
but in this example it doesn't sort the first part correctly and doesn't sort the the whole second part.