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': -69, 'second': 68}, {'first': 63, 'second': 76}, {'first': 70, 'second': 34}, {'first': -77, 'second': 40}, {'first': 92, 'second': -20}, {'first': -50, 'second': 83}, {'first': -35, 'second': -95}, {'first': -2, 'second': 50}, {'first': -24, 'second': 98}]

A: [{'first': -77, 'second': 40}, {'first': -69, 'second': 68}, {'first': -50, 'second': 83}, {'first': -35, 'second': -95}, {'first': -24, 'second': 98}, {'first': -2, 'second': 50}, {'first': 63, 'second': 76}, {'first': 70, 'second': 34}, {'first': 92, 'second': -20}]
****
Q: [{'first': 40, 'second': -47}, {'first': 18, 'second': -60}, {'first': 98, 'second': -29}, {'first': 87, 'second': 0}]

A:
[{'first': 18, 'second': -60}, {'first': 40, 'second': -47}, {'first': 87, 'second': 0}, {'first': 98, 'second': -29}]
****