6 lines
234 B
Python
6 lines
234 B
Python
|
CAT_VALUES = {
|
||
|
"ALL": "ZZZZZZZZ",
|
||
|
}
|
||
|
def aggregate_overview(overview_list):
|
||
|
overview_list = sorted(overview_list, key=lambda x: x["extraction_date"] + CAT_VALUES.get(x["subs"], x["subs"]), reverse=True)
|
||
|
return overview_list
|