Sort user actions by date