skos/commit
IMPROVED: keysort before calling group_pairs_by_key
author | Jacco van Ossenbruggen |
---|---|
Fri Aug 22 08:51:59 2014 +0200 | |
committer | Jacco van Ossenbruggen |
Fri Aug 22 08:51:59 2014 +0200 | |
commit | f5d3825f5ff2da5c3eea7fe413853d2dd29cedb0 |
tree | 19b4293ce674174faa76a28884aa3d52e563b22d |
parent | 7babd187fc802f4344606d9a41c4a11ed738ff72 |
Diff style: patch stat
diff --git a/lib/skos/json.pl b/lib/skos/json.pl index a90ec2b..47bad47 100644 --- a/lib/skos/json.pl +++ b/lib/skos/json.pl @@ -22,5 +22,6 @@ json_all_literal_propvalues(R,P,Definitions) :- ; Lang=lang_undefined ) ), Pairs), - group_pairs_by_key(Pairs, Grouped), + keysort(Pairs, Sorted), + group_pairs_by_key(Sorted, Grouped), dict_pairs(Definitions, lang, Grouped).