instruction:
In this task you will be given a list of dictionaries. A dictionary is a set of key-value pairs, where each key is unique and has a value associated with that key. You should sort the list of dictionaries from smallest to largest by their 'first' key. If there is two dictionaries with the same 'first' value then sort them by their 'second' key. Negative numbers should come before positive numbers.
question:
[{'first': -25, 'second': 12}, {'first': -24, 'second': 76}, {'first': -45, 'second': -82}, {'first': -87, 'second': -26}, {'first': -58, 'second': 12}, {'first': 63, 'second': 15}, {'first': 52, 'second': 46}, {'first': 18, 'second': -64}, {'first': -78, 'second': 30}, {'first': -8, 'second': 40}]
answer:
[{'first': -87, 'second': -26}, {'first': -78, 'second': 30}, {'first': -58, 'second': 12}, {'first': -45, 'second': -82}, {'first': -25, 'second': 12}, {'first': -24, 'second': 76}, {'first': -8, 'second': 40}, {'first': 18, 'second': -64}, {'first': 52, 'second': 46}, {'first': 63, 'second': 15}]


question:
[{'first': 83, 'second': -41}, {'first': -59, 'second': -31}, {'first': 10, 'second': -86}, {'first': -80, 'second': 59}, {'first': 10, 'second': -64}, {'first': 42, 'second': -14}, {'first': -64, 'second': 53}, {'first': -25, 'second': 49}, {'first': -96, 'second': -72}, {'first': 37, 'second': 78}]
answer:
[{'first': -96, 'second': -72}, {'first': -80, 'second': 59}, {'first': -64, 'second': 53}, {'first': -59, 'second': -31}, {'first': -25, 'second': 49}, {'first': 10, 'second': -86}, {'first': 10, 'second': -64}, {'first': 37, 'second': 78}, {'first': 42, 'second': -14}, {'first': 83, 'second': -41}]


question:
[{'first': 26, 'second': 100}, {'first': 10, 'second': 36}, {'first': 58, 'second': -29}, {'first': -19, 'second': -66}, {'first': -16, 'second': 89}, {'first': -91, 'second': -86}, {'first': -8, 'second': -85}]
answer:

first: -91
second: -86
first: -19
second: -66
first: -16
second: 89
first: -8
second: -85
first: 10
second: 36
first: 26
second: 100
first: 58
second: -29