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

A: [{'first': -96, 'second': -22}, {'first': -95, 'second': -33}, {'first': -40, 'second': -82}, {'first': 9, 'second': 51}]
****
Q: [{'first': -10, 'second': -52}, {'first': -97, 'second': -30}, {'first': -73, 'second': -95}, {'first': -40, 'second': 72}, {'first': 28, 'second': -2}, {'first': 42, 'second': -86}, {'first': -17, 'second': -7}]

A: [{'first': -97, 'second': -30}, {'first': -73, 'second': -95}, {'first': -40, 'second': 72}, {'first': -17, 'second': -7}, {'first': -10, 'second': -52}, {'first': 28, 'second': -2}, {'first': 42, 'second': -86}]
****
Q: [{'first': 47, 'second': -34}, {'first': 11, 'second': 54}]

A:
[{'first': 11, 'second': 54}, {'first': 47, 'second': -34}]
****