Better date reporting and sorting for some tables