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': -57}, {'first': -34, 'second': -23}, {'first': -9, 'second': 78}, {'first': 12, 'second': 22}, {'first': 98, 'second': -89}]

A: [{'first': -34, 'second': -23}, {'first': -31, 'second': -57}, {'first': -9, 'second': 78}, {'first': 12, 'second': 22}, {'first': 98, 'second': -89}]
****
Q: [{'first': 3, 'second': 37}, {'first': 3, 'second': 82}, {'first': -47, 'second': -65}, {'first': 41, 'second': 16}, {'first': -24, 'second': 46}, {'first': -12, 'second': 46}]

A: [{'first': -47, 'second': -65}, {'first': -24, 'second': 46}, {'first': -12, 'second': 46}, {'first': 3, 'second': 37}, {'first': 3, 'second': 82}, {'first': 41, 'second': 16}]
****
Q: [{'first': -62, 'second': 19}, {'first': 46, 'second': 4}, {'first': -82, 'second': -83}, {'first': -71, 'second': 61}, {'first': -86, 'second': 56}, {'first': -4, 'second': 77}, {'first': -63, 'second': 96}, {'first': -67, 'second': 68}]

A:
[{'first': -86, 'second': 56}, {'first': -82, 'second': -83}, {'first': -71, 'second': 61}, {'first': -67, 'second': 68}, {'first': -63, 'second': 96}, {'first': -62, 'second': 19}, {'first': -4, 'second': 77}, {'first': 46, 'second': 4}]
****