Hi, I'm trying to write a basic GUI using python and pytq5 which displays information received from an API call, when the information is returned from the API it seems to be out of order and i cant figure out how to sort the data before i send it to the GUI, the list is a list of dictionaries,
interfaces = [
{'name': 'GigabitEthernet 0/0'},
{'name': 'GigabitEthernet 1/0/1'},
{'name': 'GigabitEthernet 1/0/10'},
{'name': 'GigabitEthernet 1/0/11'},
...
]
Any advice would be appreciated, from the image i would be expecting to sort the data so that 1/0/1 - 1/0/9 are all before 1/0/10
Thanks
