Update threads sort