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': -25, 'second': 12}, {'first': -24, 'second': 76}, {'first': -45, 'second': -82}, {'first': -87, 'second': -26}, {'first': -58, 'second': 12}, {'first': 63, 'second': 15}, {'first': 52, 'second': 46}, {'first': 18, 'second': -64}, {'first': -78, 'second': 30}, {'first': -8, 'second': 40}]
[A]: [{'first': -87, 'second': -26}, {'first': -78, 'second': 30}, {'first': -58, 'second': 12}, {'first': -45, 'second': -82}, {'first': -25, 'second': 12}, {'first': -24, 'second': 76}, {'first': -8, 'second': 40}, {'first': 18, 'second': -64}, {'first': 52, 'second': 46}, {'first': 63, 'second': 15}]


[Q]: [{'first': -97, 'second': 72}, {'first': -77, 'second': 60}, {'first': -17, 'second': -42}, {'first': -28, 'second': 79}, {'first': 28, 'second': 21}, {'first': 28, 'second': -38}, {'first': 49, 'second': -24}]
[A]: [{'first': -97, 'second': 72}, {'first': -77, 'second': 60}, {'first': -28, 'second': 79}, {'first': -17, 'second': -42}, {'first': 28, 'second': -38}, {'first': 28, 'second': 21}, {'first': 49, 'second': -24}]


[Q]: [{'first': 71, 'second': 65}, {'first': 10, 'second': -83}]
[A]:
first: 10
second: -83
first: 71
second: 65