Ordering workers by id