I have a file consists of JSON, each a line, and want to sort the file by update_time reversed.
sample JSON file:
{ \"page\": { \"url\": \"url1\", \"
# sort json lines = sorted(lines, key=lambda k: k['page'].get('update_time', 0), reverse=True)