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': -40, 'second': -82}, {'first': -95, 'second': -33}, {'first': -96, 'second': -22}, {'first': 9, 'second': 51}]
[{'first': -96, 'second': -22}, {'first': -95, 'second': -33}, {'first': -40, 'second': -82}, {'first': 9, 'second': 51}]

[{'first': -96, 'second': 64}, {'first': -13, 'second': 48}, {'first': 29, 'second': 46}, {'first': 74, 'second': 48}, {'first': -63, 'second': 3}, {'first': -74, 'second': -38}, {'first': -22, 'second': -7}, {'first': 18, 'second': -47}]
[{'first': -96, 'second': 64}, {'first': -74, 'second': -38}, {'first': -63, 'second': 3}, {'first': -22, 'second': -7}, {'first': -13, 'second': 48}, {'first': 18, 'second': -47}, {'first': 29, 'second': 46}, {'first': 74, 'second': 48}]

[{'first': 44, 'second': -96}, {'first': -63, 'second': 16}, {'first': -30, 'second': 72}, {'first': -97, 'second': -37}, {'first': 2, 'second': -12}]

first: -97
second: -37
first: -63
second: 16
first: -30
second: 72
first: 2
second: -12
first: 44
second: -96