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': 39, 'second': -30}, {'first': -16, 'second': 43}, {'first': 14, 'second': 83}, {'first': 12, 'second': 23}, {'first': 16, 'second': -36}]

A: [{'first': -16, 'second': 43}, {'first': 12, 'second': 23}, {'first': 14, 'second': 83}, {'first': 16, 'second': -36}, {'first': 39, 'second': -30}]
****
Q: [{'first': -97, 'second': -15}, {'first': -40, 'second': -64}, {'first': -43, 'second': -85}, {'first': -87, 'second': -14}, {'first': 0, 'second': -79}, {'first': 43, 'second': -14}, {'first': -84, 'second': 99}, {'first': 60, 'second': -41}, {'first': -16, 'second': 22}]

A: [{'first': -97, 'second': -15}, {'first': -87, 'second': -14}, {'first': -84, 'second': 99}, {'first': -43, 'second': -85}, {'first': -40, 'second': -64}, {'first': -16, 'second': 22}, {'first': 0, 'second': -79}, {'first': 43, 'second': -14}, {'first': 60, 'second': -41}]
****
Q: [{'first': 45, 'second': -73}, {'first': 8, 'second': -97}, {'first': -83, 'second': 46}, {'first': -66, 'second': 6}, {'first': 44, 'second': 87}, {'first': 27, 'second': -16}, {'first': 74, 'second': -40}, {'first': -99, 'second': 6}]

A:
[{'first': -99, 'second': 6}, {'first': -83, 'second': 46}, {'first': -66, 'second': 6}, {'first': 8, 'second': -97}, {'first': 27, 'second': -16}, {'first': 44, 'second': 87}, {'first': 45, 'second': -73}, {'first': 74, 'second': -40}]
****