Order by dateStarted when possible
Better handling of phase logs