Basic multithreading example in which one data sorting algorithm is run twice simultaneously.