File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
onlinejudge_verify/documentation Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -107,9 +107,9 @@ def ext(relative_path: pathlib.Path) -> Dict[str, Any]:
107
107
'icon' : _get_verification_status_icon (stat .verification_status ),
108
108
}
109
109
110
- data ['_extendedDependsOn' ] = [ext (path ) for path in stat .depends_on ]
111
- data ['_extendedRequiredBy' ] = [ext (path ) for path in stat .required_by ]
112
- data ['_extendedVerifiedWith' ] = [ext (path ) for path in stat .verified_with ]
110
+ data ['_extendedDependsOn' ] = sorted ( [ext (path ) for path in stat .depends_on ], key = lambda x : x [ 'path' ])
111
+ data ['_extendedRequiredBy' ] = sorted ( [ext (path ) for path in stat .required_by ], key = lambda x : x [ 'path' ])
112
+ data ['_extendedVerifiedWith' ] = sorted ( [ext (path ) for path in stat .verified_with ], key = lambda x : x [ 'path' ])
113
113
114
114
return data
115
115
You can’t perform that action at this time.
0 commit comments