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.

[Q]: [{'first': 6, 'second': 39}, {'first': 89, 'second': -4}, {'first': 54, 'second': -40}, {'first': 70, 'second': -51}, {'first': 89, 'second': 23}, {'first': -49, 'second': 72}]
[A]: [{'first': -49, 'second': 72}, {'first': 6, 'second': 39}, {'first': 54, 'second': -40}, {'first': 70, 'second': -51}, {'first': 89, 'second': -4}, {'first': 89, 'second': 23}]


[Q]: [{'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}]
[A]: [{'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}]


[Q]: [{'first': -35, 'second': 69}, {'first': -49, 'second': 86}, {'first': 1, 'second': 29}, {'first': -22, 'second': 99}, {'first': 23, 'second': 19}, {'first': 84, 'second': -32}, {'first': -85, 'second': 19}, {'first': 20, 'second': 25}, {'first': -83, 'second': 70}, {'first': 16, 'second': 39}]
[A]:
first: -85
second: 19
first: -83
second: 70
first: -49
second: 86
first: -35
second: 69
first: -22
second: 99
first: 1
second: 29
first: 16
second: 39
first: 20
second: 25
first: 23
second: 19
first: 84
second: -32