In Moodle reports for DnD:
1. Inside "your answers" column - always list all correct answers first, followed by all wrong answers.
2. Inside "correct answers" column - first show the answers that have a correct match, followed by all other answers.
3. Order the answers so we get same answers on the same line when we have correct match.
In attached example "2+4=4" from "your answers" column will be shown on the same line as "2+2=4" from "correct answers column"
Same answers are shown on the same line when we have a correct match.