(x)
| 108 | # The original sorting key is duration or memory, but in our fake test we |
| 109 | # have non-deterministic values before we reset them to 1. |
| 110 | def sort_key(x): |
| 111 | return str(sorted(x.items())) |
| 112 | for container in [ |
| 113 | 'max_rss_tests', 'max_vms_tests','slowest_tests']: |
| 114 | json_output[container].sort(key=sort_key) |