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': -55, 'second': -50}, {'first': -27, 'second': 13}, {'first': -40, 'second': -10}, {'first': -55, 'second': -49}]

A: [{'first': -55, 'second': -50}, {'first': -55, 'second': -49}, {'first': -40, 'second': -10}, {'first': -27, 'second': 13}]
****
Q: [{'first': 96, 'second': 27}, {'first': -73, 'second': 71}, {'first': -62, 'second': 24}, {'first': -99, 'second': 96}, {'first': 55, 'second': 63}, {'first': -7, 'second': 64}, {'first': 77, 'second': 16}]

A: [{'first': -99, 'second': 96}, {'first': -73, 'second': 71}, {'first': -62, 'second': 24}, {'first': -7, 'second': 64}, {'first': 55, 'second': 63}, {'first': 77, 'second': 16}, {'first': 96, 'second': 27}]
****
Q: [{'first': 61, 'second': 97}, {'first': -39, 'second': 26}, {'first': 76, 'second': -46}, {'first': 81, 'second': -60}, {'first': -12, 'second': -94}, {'first': -100, 'second': -28}]

A:
[{'first': -100, 'second': -28}, {'first': -39, 'second': 26}, {'first': -12, 'second': -94}, {'first': 61, 'second': 97}, {'first': 76, 'second': -46}, {'first': 81, 'second': -60}]
****