The reasons is that std::sort is used and it just happens to be stable
on windows, but is unstable in Linux.
Replace with std::stable_sort and all is good.
Else the passes are mixed up, while crypyo matte expects them to be
sequential due to the pointer arithmetic it does.
Thx @Blazej Floch (bfloch) providing the fix!