randomness in 'table.sort' used only when needed (big imbalance in
partition result) + small refactoring
1 file changed