tools: divide_tests.sh - env variable for choosing output directory

9 jobs for sort_tests
in 1 minute and 28 seconds and was queued for 10 seconds