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': -2, 'second': 46}, {'first': -8, 'second': 21}, {'first': 17, 'second': 92}, {'first': -77, 'second': -24}]
answer:
[{'first': -77, 'second': -24}, {'first': -8, 'second': 21}, {'first': -2, 'second': 46}, {'first': 17, 'second': 92}]


question:
[{'first': 28, 'second': 84}, {'first': 59, 'second': 40}, {'first': 70, 'second': 10}, {'first': -93, 'second': -27}, {'first': -3, 'second': -53}, {'first': 84, 'second': -54}, {'first': -87, 'second': -95}, {'first': -46, 'second': 41}, {'first': -100, 'second': -86}, {'first': 54, 'second': -57}]
answer:
[{'first': -100, 'second': -86}, {'first': -93, 'second': -27}, {'first': -87, 'second': -95}, {'first': -46, 'second': 41}, {'first': -3, 'second': -53}, {'first': 28, 'second': 84}, {'first': 54, 'second': -57}, {'first': 59, 'second': 40}, {'first': 70, 'second': 10}, {'first': 84, 'second': -54}]


question:
[{'first': 73, 'second': 40}, {'first': 50, 'second': 2}, {'first': -18, 'second': 4}, {'first': 30, 'second': 65}, {'first': 46, 'second': 13}, {'first': -9, 'second': 81}]
answer:

first: -18
second: 4
first: -9
second: 81
first: 30
second: 65
first: 46
second: 13
first: 50
second: 2
first: 73
second: 40