using quicksort as an excuse for playing with mmap && threads