labels = app.config["LABELS"]
then print(labels)
[{'name': '', 'image': '34-4.png', 'xMax': '2287', 'xMin': '2102', 'yMin': '53', 'id': '1', 'yMax': '110'},
{'name': '', 'image': '34-4.png', 'xMax': '2414', 'xMin': '2299', 'yMin': '80', 'id': '2', 'yMax': '118'},
{'name': '', 'image': '34-4.png', 'xMax': '2193', 'xMin': '2138', 'yMin': '128', 'id': '3', 'yMax': '140'}]
The actual list is way bigger , how can i order these values so the dictionary starts with image instead of name, and for some reason they always start with name, i did check previous answers on here like Key Order in Python Dictionaries ,orderedDict
but i'm not inserting them that way, i already have them and want to change they are(their order)