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': -87, 'second': -21}, {'first': -35, 'second': 34}, {'first': -44, 'second': -46}, {'first': -15, 'second': -24}, {'first': -40, 'second': 17}, {'first': -84, 'second': 17}]
[A]: [{'first': -87, 'second': -21}, {'first': -84, 'second': 17}, {'first': -44, 'second': -46}, {'first': -40, 'second': 17}, {'first': -35, 'second': 34}, {'first': -15, 'second': -24}]


[Q]: [{'first': -49, 'second': 52}, {'first': 99, 'second': 39}, {'first': -38, 'second': -50}, {'first': 48, 'second': 37}, {'first': 25, 'second': -30}, {'first': 27, 'second': -89}, {'first': 66, 'second': 87}, {'first': -41, 'second': 83}, {'first': 57, 'second': 90}]
[A]: [{'first': -49, 'second': 52}, {'first': -41, 'second': 83}, {'first': -38, 'second': -50}, {'first': 25, 'second': -30}, {'first': 27, 'second': -89}, {'first': 48, 'second': 37}, {'first': 57, 'second': 90}, {'first': 66, 'second': 87}, {'first': 99, 'second': 39}]


[Q]: [{'first': 1, 'second': -17}, {'first': -75, 'second': 58}, {'first': 3, 'second': -7}, {'first': 49, 'second': -34}, {'first': 6, 'second': -90}, {'first': -49, 'second': -48}, {'first': -83, 'second': -30}]
[A]:
first: -83
second: -30
first: -75
second: 58
first: -49
second: -48
first: 1
second: -17
first: 3
second: -7
first: 6
second: -90
first: 49
second: -34