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.

[{'first': -22, 'second': -23}, {'first': 31, 'second': 93}, {'first': -77, 'second': 24}, {'first': -4, 'second': -52}]
[{'first': -77, 'second': 24}, {'first': -22, 'second': -23}, {'first': -4, 'second': -52}, {'first': 31, 'second': 93}]

[{'first': -52, 'second': 39}, {'first': -77, 'second': 0}, {'first': 90, 'second': -35}]
[{'first': -77, 'second': 0}, {'first': -52, 'second': 39}, {'first': 90, 'second': -35}]

[{'first': -83, 'second': 70}, {'first': 91, 'second': 40}, {'first': 59, 'second': -63}, {'first': -97, 'second': 24}, {'first': 58, 'second': 36}, {'first': -15, 'second': 17}, {'first': 79, 'second': -6}]

first: -97
second: 24
first: -83
second: 70
first: -15
second: 17
first: 58
second: 36
first: 59
second: -63
first: 79
second: -6
first: 91
second: 40