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.

Input: Consider Input: [{'first': -17, 'second': -31}, {'first': -80, 'second': -93}, {'first': 62, 'second': 95}, {'first': 87, 'second': 5}, {'first': 9, 'second': 59}, {'first': 79, 'second': -29}, {'first': -82, 'second': -64}, {'first': 39, 'second': -42}]

Output: [{'first': -82, 'second': -64}, {'first': -80, 'second': -93}, {'first': -17, 'second': -31}, {'first': 9, 'second': 59}, {'first': 39, 'second': -42}, {'first': 62, 'second': 95}, {'first': 79, 'second': -29}, {'first': 87, 'second': 5}]


Input: Consider Input: [{'first': 41, 'second': 3}, {'first': 29, 'second': -9}, {'first': 37, 'second': 51}]

Output: [{'first': 29, 'second': -9}, {'first': 37, 'second': 51}, {'first': 41, 'second': 3}]


Input: Consider Input: [{'first': 10, 'second': -10}, {'first': -94, 'second': -86}, {'first': 56, 'second': 26}, {'first': -19, 'second': 7}, {'first': 51, 'second': 54}]


Output: [{'first': -94, 'second': -86}, {'first': -19, 'second': 7}, {'first': 10, 'second': -10}, {'first': 51, 'second': 54}, {'first': 56, 'second': 26}]