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': 19, 'second': -71}, {'first': -85, 'second': 94}, {'first': 67, 'second': 50}, {'first': -10, 'second': -89}, {'first': 45, 'second': -40}]

A: [{'first': -85, 'second': 94}, {'first': -10, 'second': -89}, {'first': 19, 'second': -71}, {'first': 45, 'second': -40}, {'first': 67, 'second': 50}]
****
Q: [{'first': -1, 'second': 88}, {'first': 70, 'second': 8}, {'first': 92, 'second': 64}, {'first': 47, 'second': -65}, {'first': -62, 'second': -31}]

A: [{'first': -62, 'second': -31}, {'first': -1, 'second': 88}, {'first': 47, 'second': -65}, {'first': 70, 'second': 8}, {'first': 92, 'second': 64}]
****
Q: [{'first': -18, 'second': -98}, {'first': 33, 'second': 96}, {'first': 95, 'second': 53}]

A:
[{'first': -18, 'second': -98}, {'first': 33, 'second': 96}, {'first': 95, 'second': 53}]
****