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': 3, 'second': 37}, {'first': 3, 'second': 82}, {'first': -47, 'second': -65}, {'first': 41, 'second': 16}, {'first': -24, 'second': 46}, {'first': -12, 'second': 46}]
[A]: [{'first': -47, 'second': -65}, {'first': -24, 'second': 46}, {'first': -12, 'second': 46}, {'first': 3, 'second': 37}, {'first': 3, 'second': 82}, {'first': 41, 'second': 16}]


[Q]: [{'first': 25, 'second': 82}, {'first': 51, 'second': 39}]
[A]: [{'first': 25, 'second': 82}, {'first': 51, 'second': 39}]


[Q]: [{'first': -99, 'second': -79}, {'first': 54, 'second': -29}, {'first': -69, 'second': -76}]
[A]:
first: -99
second: -79
first: -69
second: -76
first: 54
second: -29