fix for tests
sorting worker