skrf.networkSet.NetworkSet.sort

NetworkSet.sort(key=<function NetworkSet.<lambda>>, **kwargs)[source]

sort this network set.

Parameters:**kwargs (dict) – keyword args passed to builtin sorted acting on self.ntwk_set

Examples

>>> ns = rf.NetworkSet.from_dir('mydir')
>>> ns.sort()

Sort by other property >>> ns.sort(key= lambda x: x.voltage)