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': 38, 'second': -72}, {'first': -87, 'second': -48}, {'first': -18, 'second': 88}, {'first': 29, 'second': 55}, {'first': 68, 'second': -70}, {'first': -56, 'second': -14}]

A:
[{'first': -87, 'second': -48}, {'first': -56, 'second': -14}, {'first': -18, 'second': 88}, {'first': 29, 'second': 55}, {'first': 38, 'second': -72}, {'first': 68, 'second': -70}]
****