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': -82, 'second': -48}, {'first': 85, 'second': 83}, {'first': 1, 'second': -41}, {'first': 48, 'second': -18}, {'first': -9, 'second': 34}, {'first': 75, 'second': 13}, {'first': 12, 'second': -65}, {'first': 87, 'second': 50}, {'first': -88, 'second': -29}]
[A]: [{'first': -88, 'second': -29}, {'first': -82, 'second': -48}, {'first': -9, 'second': 34}, {'first': 1, 'second': -41}, {'first': 12, 'second': -65}, {'first': 48, 'second': -18}, {'first': 75, 'second': 13}, {'first': 85, 'second': 83}, {'first': 87, 'second': 50}]


[Q]: [{'first': 40, 'second': 64}, {'first': -75, 'second': -54}]
[A]: [{'first': -75, 'second': -54}, {'first': 40, 'second': 64}]


[Q]: [{'first': 6, 'second': 47}, {'first': 79, 'second': 58}]
[A]:
first: 6
second: 47
first: 79
second: 58