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': 31, 'second': 77}, {'first': 60, 'second': 54}, {'first': 0, 'second': -87}, {'first': 51, 'second': -82}, {'first': -3, 'second': -2}, {'first': -18, 'second': -56}, {'first': -19, 'second': -61}]

A: [{'first': -19, 'second': -61}, {'first': -18, 'second': -56}, {'first': -3, 'second': -2}, {'first': 0, 'second': -87}, {'first': 31, 'second': 77}, {'first': 51, 'second': -82}, {'first': 60, 'second': 54}]
****
Q: [{'first': 40, 'second': 85}, {'first': -6, 'second': 68}, {'first': -58, 'second': -65}, {'first': 83, 'second': 25}]

A: [{'first': -58, 'second': -65}, {'first': -6, 'second': 68}, {'first': 40, 'second': 85}, {'first': 83, 'second': 25}]
****
Q: [{'first': 36, 'second': -65}, {'first': 18, 'second': -9}, {'first': -2, 'second': -61}, {'first': -69, 'second': -53}, {'first': 52, 'second': -91}, {'first': -5, 'second': -21}, {'first': -27, 'second': 4}, {'first': -52, 'second': 33}, {'first': -67, 'second': 70}, {'first': 40, 'second': -25}]

A:
[{'first': -69, 'second': -53}, {'first': -67, 'second': 70}, {'first': -52, 'second': 33}, {'first': -27, 'second': 4}, {'first': -5, 'second': -21}, {'first': -2, 'second': -61}, {'first': 18, 'second': -9}, {'first': 36, 'second': -65}, {'first': 40, 'second': -25}, {'first': 52, 'second': -91}]
****