Replace std::sort() with std::stable_sort() to avoid cross-platform performance mismatch.

6 jobs for !2022 with master in 14 minutes and 43 seconds (queued for 1 second)
latest detached
Status Job ID Name Coverage
  Build
passed #20554
macos
build_macos

00:03:55

passed #20555
ubuntu1604
build_ubuntu1604

00:05:53

passed #20556
ubuntu1804
build_ubuntu1804

00:05:36

passed #20557
ubuntu1804-gcc8
build_ubuntu1804-gcc8

00:06:03

passed #20558
vc191x
build_vc191x

00:14:43

passed #20559
vc192x
build_vc192x

00:13:25