Added a timedPublish() method to SortWorker, this should be used instead of publish() as it will automatically wait before publishing