Fix date sorting
Talk: An introduction to Erlang