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': 16, 'second': 18}, {'first': -35, 'second': -87}, {'first': 72, 'second': -70}, {'first': 53, 'second': -97}, {'first': 63, 'second': -67}, {'first': 60, 'second': -14}, {'first': 87, 'second': 76}, {'first': -16, 'second': 90}, {'first': 49, 'second': -40}, {'first': -9, 'second': -63}]
answer:
[{'first': -35, 'second': -87}, {'first': -16, 'second': 90}, {'first': -9, 'second': -63}, {'first': 16, 'second': 18}, {'first': 49, 'second': -40}, {'first': 53, 'second': -97}, {'first': 60, 'second': -14}, {'first': 63, 'second': -67}, {'first': 72, 'second': -70}, {'first': 87, 'second': 76}]


question:
[{'first': -15, 'second': 1}, {'first': -42, 'second': 68}, {'first': -59, 'second': 100}, {'first': 49, 'second': -78}, {'first': -82, 'second': 8}, {'first': 10, 'second': 23}, {'first': -88, 'second': -67}, {'first': -82, 'second': -97}, {'first': -32, 'second': 94}]
answer:
[{'first': -88, 'second': -67}, {'first': -82, 'second': -97}, {'first': -82, 'second': 8}, {'first': -59, 'second': 100}, {'first': -42, 'second': 68}, {'first': -32, 'second': 94}, {'first': -15, 'second': 1}, {'first': 10, 'second': 23}, {'first': 49, 'second': -78}]


question:
[{'first': 97, 'second': 42}, {'first': -97, 'second': -39}]
answer:

first: -97
second: -39
first: 97
second: 42