Sort executions and tasks by time

Closes-bug: #1391118

Change-Id: I8417c3679350c40f73faff22bd82d9549845fe25
Merge "Sort executions and tasks by time"