diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-09-18 16:52:40 +0200 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-09-18 16:52:40 +0200 |
commit | c37f21e48f17abe9fb6bf1549f680e6f730aed8c (patch) | |
tree | 44233683bff95f98dbf9fee908bd8e3a6c8aab09 /scripts/reqs2tex.py | |
parent | 6b3fa9ceaf539b1bdcddf6284326a67c127d93a4 (diff) |
WIP research
Diffstat (limited to 'scripts/reqs2tex.py')
-rwxr-xr-x | scripts/reqs2tex.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/reqs2tex.py b/scripts/reqs2tex.py index e5f063d..6984466 100755 --- a/scripts/reqs2tex.py +++ b/scripts/reqs2tex.py @@ -94,6 +94,9 @@ def convert(data): # skip deleted requirements (but process for make_id) reqs = [item for item in reqs if item[KEY.DELETED] == False] + # sort by label + reqs = sorted(reqs, key=lambda item: item[KEY.LABEL]) + return reqs def fmt_aux(data): |