fixed sorting of questions, gathering of responses and started export of responses