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': -40, 'second': 0}, {'first': -51, 'second': 5}, {'first': 65, 'second': -98}, {'first': -31, 'second': -12}, {'first': -35, 'second': 44}, {'first': 35, 'second': 40}, {'first': -12, 'second': 84}, {'first': 11, 'second': -56}, {'first': 31, 'second': -55}, {'first': 46, 'second': 2}]
answer:
[{'first': -51, 'second': 5}, {'first': -40, 'second': 0}, {'first': -35, 'second': 44}, {'first': -31, 'second': -12}, {'first': -12, 'second': 84}, {'first': 11, 'second': -56}, {'first': 31, 'second': -55}, {'first': 35, 'second': 40}, {'first': 46, 'second': 2}, {'first': 65, 'second': -98}]


question:
[{'first': -85, 'second': -28}, {'first': 53, 'second': 66}, {'first': 34, 'second': -81}, {'first': 1, 'second': -42}, {'first': -65, 'second': 25}, {'first': -73, 'second': 48}, {'first': -28, 'second': 98}, {'first': -28, 'second': -50}, {'first': -22, 'second': 53}]
answer:
[{'first': -85, 'second': -28}, {'first': -73, 'second': 48}, {'first': -65, 'second': 25}, {'first': -28, 'second': -50}, {'first': -28, 'second': 98}, {'first': -22, 'second': 53}, {'first': 1, 'second': -42}, {'first': 34, 'second': -81}, {'first': 53, 'second': 66}]


question:
[{'first': -85, 'second': 72}, {'first': 45, 'second': -60}, {'first': -7, 'second': 0}, {'first': 68, 'second': 71}, {'first': -94, 'second': -49}, {'first': -21, 'second': -25}, {'first': 23, 'second': -95}, {'first': -45, 'second': 49}, {'first': -60, 'second': -87}, {'first': -66, 'second': -6}]
answer:

first: -94
second: -49
first: -85
second: 72
first: -66
second: -6
first: -60
second: -87
first: -45
second: 49
first: -21
second: -25
first: -7
second: 0
first: 23
second: -95
first: 45
second: -60
first: 68
second: 71