Ensure phases get updated correctly when rewriting
Sort steps by date started