<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_params(self, ctx):
 """Sort order of options before displaying. :param click.core.Context ctx: Click context. :return: super() return value. """

        self.params.sort(key=self.custom_sort)
        return super(ClickGroup, self).get_params(ctx)