fixed sorting by date on graph + architecture update