added date to history panels and sort history by date, newest first