code: def get_users(self, course):
          users = OrderedDict(sorted(list(self.user_manager.get_users_info(self.user_manager.get_course_registered_users(course)).items()),
              key=lambda k: k[1][0] if k[1] is not None else ""))
          return users