<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def all(self, by="name", ascending=True):

 """All tested distributions, their parameters, and SSEs."""

        res = pd.DataFrame(
            {
                "name": self.distributions,
                "params": self.params,
                "sse": self.sses,
            }
        )[["name", "sse", "params"]]
        res.sort_values(by=by, ascending=ascending, inplace=True)

        return res