code: public Stream<LsQuestion> getQuestions(int surveyId) throws LimesurveyRCException {
          return getGroups(surveyId).flatMap(group -> {
              try {
                  return getQuestionsFromGroup(surveyId, group.getId());
              } catch (LimesurveyRCException e) {
                  LOGGER.error("Unable to get questions from group " + group.getId(), e);
              }
              return Stream.empty();
          });
      }
docs: Gets questions from a survey.
  The questions are ordered using the "group_order" field from the groups and then the "question_order" field from the questions
  
  @param surveyId the survey id of the survey you want to get the questions
  @return a stream of questions in an ordered order
  @throws LimesurveyRCException the limesurvey rc exception