ska_sort: reorganize code a bit
ska_sort: reorganize code a bit

NFC but this change alone decreases the size of the test suite by 6%
without affecting the speed of the algorithm.

Morwenn/cpp-sort,Morwenn/cpp-sort,Morwenn/cpp-sort,Morwenn/cpp-sort