def METHOD_NAME(self):
    order = self.run_networksetup_command("-listnetworkserviceorder")
    mapping = re.findall(
        r"\(\d+\)\s(.*)$\n\(.*Device: (.+)\)$", order, re.MULTILINE
    )
    return {b: a for (a, b) in mapping}