Problem:
The order of elements in more complex diffs is not consistent with the order of elements in the formal datamodel as specified in https://www.mediawiki.org/wiki/Extension:WikibaseLexeme/Data_Model. This is visible when comparing two revisions with lots of edits in between, or when comparing two revisions from two different Lexemes.
Example:
Screenshots:
The Lexemes statements are first, followed by "Lemma" and "lexical category". It should be the other way around, statements last.
BDD
GIVEN an edit on a Lemma of a Lexeme
AND an edit on a statement on a Lexeme
WHEN viewing a diff that includes those edits
THEN the edits on the Lemma show up first in the diff
Acceptance criteria:
- the order of diff elements reflects the order on the Lexeme page (Lemma -> Language -> Lexical category -> Lexeme statements)