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': 19, 'second': -71}, {'first': -85, 'second': 94}, {'first': 67, 'second': 50}, {'first': -10, 'second': -89}, {'first': 45, 'second': -40}]
[A]: [{'first': -85, 'second': 94}, {'first': -10, 'second': -89}, {'first': 19, 'second': -71}, {'first': 45, 'second': -40}, {'first': 67, 'second': 50}]


[Q]: [{'first': 24, 'second': 9}, {'first': -75, 'second': -84}, {'first': 30, 'second': -3}, {'first': 30, 'second': 93}, {'first': -81, 'second': -18}, {'first': -54, 'second': 16}, {'first': -60, 'second': -78}, {'first': -83, 'second': 7}]
[A]: [{'first': -83, 'second': 7}, {'first': -81, 'second': -18}, {'first': -75, 'second': -84}, {'first': -60, 'second': -78}, {'first': -54, 'second': 16}, {'first': 24, 'second': 9}, {'first': 30, 'second': -3}, {'first': 30, 'second': 93}]


[Q]: [{'first': 63, 'second': -41}, {'first': 28, 'second': -46}, {'first': -52, 'second': 30}, {'first': -10, 'second': -60}, {'first': -99, 'second': 89}, {'first': 94, 'second': 55}, {'first': -9, 'second': -4}, {'first': -85, 'second': -55}]
[A]:
first: -99
second: 89
first: -85
second: -55
first: -52
second: 30
first: -10
second: -60
first: -9
second: -4
first: 28
second: -46
first: 63
second: -41
first: 94
second: 55