Sort history by alert time/date

Allow users to sort history by time and date. For example, I only want to see alerts that occurred between 12am and 5am on xx/xx/xxxx - xx/xx/xxxx.