move date to end of table