@staticmethod
def sort_key(result):
    """ Get a key to sort a simulation result

        Args:
            result (:obj:`SimulationResult`): simulation result

        Returns:
            :obj:`tuple`
        """
    return result.simulation.id, result.variable.id
