update version
Sort transaction by date, burry down any orphans