added sorting to activity_start and status