History write works
Closes #89
Sorted by most recent date - closes #65 closes #89