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': 87, 'second': 12}, {'first': -40, 'second': 99}, {'first': 4, 'second': 3}]
answer:
[{'first': -40, 'second': 99}, {'first': 4, 'second': 3}, {'first': 87, 'second': 12}]


question:
[{'first': 7, 'second': -18}, {'first': -71, 'second': 80}, {'first': 24, 'second': 41}, {'first': -100, 'second': 99}, {'first': 51, 'second': -12}]
answer:
[{'first': -100, 'second': 99}, {'first': -71, 'second': 80}, {'first': 7, 'second': -18}, {'first': 24, 'second': 41}, {'first': 51, 'second': -12}]


question:
[{'first': -31, 'second': -57}, {'first': -34, 'second': -23}, {'first': -9, 'second': 78}, {'first': 12, 'second': 22}, {'first': 98, 'second': -89}]
answer:

first: -34
second: -23
first: -31
second: -57
first: -9
second: 78
first: 12
second: 22
first: 98
second: -89