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': 8, 'second': 2}, {'first': 87, 'second': -92}, {'first': 74, 'second': 8}, {'first': 21, 'second': -68}, {'first': 94, 'second': -84}, {'first': 49, 'second': 77}, {'first': 63, 'second': -7}, {'first': -16, 'second': 50}, {'first': -24, 'second': 32}, {'first': -77, 'second': 29}]

A: [{'first': -77, 'second': 29}, {'first': -24, 'second': 32}, {'first': -16, 'second': 50}, {'first': 8, 'second': 2}, {'first': 21, 'second': -68}, {'first': 49, 'second': 77}, {'first': 63, 'second': -7}, {'first': 74, 'second': 8}, {'first': 87, 'second': -92}, {'first': 94, 'second': -84}]
****
Q: [{'first': -52, 'second': 39}, {'first': -77, 'second': 0}, {'first': 90, 'second': -35}]

A: [{'first': -77, 'second': 0}, {'first': -52, 'second': 39}, {'first': 90, 'second': -35}]
****
Q: [{'first': 74, 'second': -69}, {'first': -54, 'second': -76}, {'first': -97, 'second': 55}, {'first': 38, 'second': 44}, {'first': 72, 'second': 28}, {'first': -9, 'second': 27}, {'first': 44, 'second': -54}]

A:
[{'first': -97, 'second': 55}, {'first': -54, 'second': -76}, {'first': -9, 'second': 27}, {'first': 38, 'second': 44}, {'first': 44, 'second': -54}, {'first': 72, 'second': 28}, {'first': 74, 'second': -69}]
****