sorting workqueue elements by timestamp
Merge pull request #4977 from alexanderrichards/timestamp_sorting

sorting workqueue elements by timestamp