def METHOD_NAME(self) -> Optional[Union[list, dict]]:
    if (
        isinstance(self.src, str)
        or self.src_is_key_path
        and isinstance(self.src, list)
    ):
        self.src_is_key_path = True
        if self.in_place:
            self.src = self.get_src()
            return self.sort(self.src)
            # return self.src
        else:
            src = self.get_src()
            self.sort(src)
            return src
    else:
        # TODO: Untested
        self.sort(self.src)
        return self.src