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': -100, 'second': -90}, {'first': -56, 'second': -38}, {'first': -92, 'second': -78}, {'first': 77, 'second': -24}, {'first': -57, 'second': -65}]

A: [{'first': -100, 'second': -90}, {'first': -92, 'second': -78}, {'first': -57, 'second': -65}, {'first': -56, 'second': -38}, {'first': 77, 'second': -24}]
****
Q: [{'first': -52, 'second': -36}, {'first': 85, 'second': -31}, {'first': 36, 'second': 54}, {'first': 29, 'second': -46}, {'first': -72, 'second': 18}, {'first': -54, 'second': 27}, {'first': -89, 'second': 50}, {'first': 29, 'second': -63}, {'first': -98, 'second': 56}]

A: [{'first': -98, 'second': 56}, {'first': -89, 'second': 50}, {'first': -72, 'second': 18}, {'first': -54, 'second': 27}, {'first': -52, 'second': -36}, {'first': 29, 'second': -63}, {'first': 29, 'second': -46}, {'first': 36, 'second': 54}, {'first': 85, 'second': -31}]
****
Q: [{'first': -46, 'second': -96}, {'first': 82, 'second': 18}, {'first': -38, 'second': -45}, {'first': -97, 'second': 56}, {'first': -96, 'second': 45}, {'first': 39, 'second': 31}]

A:
[{'first': -97, 'second': 56}, {'first': -96, 'second': 45}, {'first': -46, 'second': -96}, {'first': -38, 'second': -45}, {'first': 39, 'second': 31}, {'first': 82, 'second': 18}]
****