order activity by view and reply