Added sort by date for client visits