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': -96, 'second': -70}, {'first': 65, 'second': 21}, {'first': 85, 'second': 27}, {'first': 23, 'second': -27}, {'first': -50, 'second': 18}]
[A]: [{'first': -96, 'second': -70}, {'first': -50, 'second': 18}, {'first': 23, 'second': -27}, {'first': 65, 'second': 21}, {'first': 85, 'second': 27}]


[Q]: [{'first': 71, 'second': 21}, {'first': 26, 'second': -13}, {'first': -95, 'second': -52}]
[A]: [{'first': -95, 'second': -52}, {'first': 26, 'second': -13}, {'first': 71, 'second': 21}]


[Q]: [{'first': -27, 'second': -10}, {'first': -70, 'second': -17}, {'first': 75, 'second': 96}, {'first': -61, 'second': 17}, {'first': -77, 'second': -55}]
[A]:
first: -77
second: -55
first: -70
second: -17
first: -61
second: 17
first: -27
second: -10
first: 75
second: 96