add date helper to sort policies based on date