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': -87, 'second': -21}, {'first': -35, 'second': 34}, {'first': -44, 'second': -46}, {'first': -15, 'second': -24}, {'first': -40, 'second': 17}, {'first': -84, 'second': 17}]

A: [{'first': -87, 'second': -21}, {'first': -84, 'second': 17}, {'first': -44, 'second': -46}, {'first': -40, 'second': 17}, {'first': -35, 'second': 34}, {'first': -15, 'second': -24}]
****
Q: [{'first': -49, 'second': 52}, {'first': 99, 'second': 39}, {'first': -38, 'second': -50}, {'first': 48, 'second': 37}, {'first': 25, 'second': -30}, {'first': 27, 'second': -89}, {'first': 66, 'second': 87}, {'first': -41, 'second': 83}, {'first': 57, 'second': 90}]

A: [{'first': -49, 'second': 52}, {'first': -41, 'second': 83}, {'first': -38, 'second': -50}, {'first': 25, 'second': -30}, {'first': 27, 'second': -89}, {'first': 48, 'second': 37}, {'first': 57, 'second': 90}, {'first': 66, 'second': 87}, {'first': 99, 'second': 39}]
****
Q: [{'first': -25, 'second': 77}, {'first': 29, 'second': 48}, {'first': 23, 'second': 73}, {'first': -99, 'second': -27}, {'first': -93, 'second': -65}, {'first': 89, 'second': 15}, {'first': -40, 'second': 68}, {'first': -60, 'second': 62}, {'first': 93, 'second': -60}, {'first': 32, 'second': -28}]

A:
[{'first': -99, 'second': -27}, {'first': -93, 'second': -65}, {'first': -60, 'second': 62}, {'first': -40, 'second': 68}, {'first': -25, 'second': 77}, {'first': 23, 'second': 73}, {'first': 29, 'second': 48}, {'first': 32, 'second': -28}, {'first': 89, 'second': 15}, {'first': 93, 'second': -60}]
****