Specify the order of the threads