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.

[EX Q]: [{'first': 87, 'second': 12}, {'first': -40, 'second': 99}, {'first': 4, 'second': 3}]
[EX A]: [{'first': -40, 'second': 99}, {'first': 4, 'second': 3}, {'first': 87, 'second': 12}]

[EX Q]: [{'first': -55, 'second': -50}, {'first': -27, 'second': 13}, {'first': -40, 'second': -10}, {'first': -55, 'second': -49}]
[EX A]: [{'first': -55, 'second': -50}, {'first': -55, 'second': -49}, {'first': -40, 'second': -10}, {'first': -27, 'second': 13}]

[EX Q]: [{'first': -39, 'second': -89}, {'first': -75, 'second': -65}, {'first': -43, 'second': 76}, {'first': -22, 'second': -87}]
[EX A]:
first: -75
second: -65
first: -43
second: 76
first: -39
second: -89
first: -22
second: -87