Task: Sort JSON Lines File by Nested Value
Task: Sort JSON Lines File by Nested Value: a task in Terminal-Lego-15k (Harbor dataset). You need to write a Python script that reads a file containing JSON objects (one per line, also known as JSON Lines format) and sorts them by a nested field value in descending order.
The task
You need to write a Python script that reads a file containing JSON objects (one per line, also known as JSON Lines format) and sorts them by a nested field value in descending order.
Part of PrimeIntellect/Terminal-Lego-15k.