The order of question and location tracking enabled events in audit log after form resume
Software and hardware versions
Collect v2022.3.2, Android probably all
Problem description
I’ve noticed that there is a different order of "question” and "location tracking enabled” events in audit log when the form is saved for the first time and after editing the form. When the form is completed for the first time, at the beginning of audit log first there is a "location tracking enabled” and then a "question” event. After editing the same form, in audit log after "form resume” event first there is a "question” event and then a "location tracking enabled” event.

Steps to reproduce the problem
- Go to AuditTest form.
- Allow tracking location if necessary.
- Fill in some questions.
- Save and exit the form.
- Go to Edit Saved Form.
- Edit the form and save it.
- Go to audit.csv file.
Expected behavior
The order of those events in audit log after editing the form should be the same as in completing the form for the first time.
Is this present in v2022.2 as well?
In Collect v2022.2.0 after form resume, the question event is before location tracking.
@lognaturel do you agree that this is a problem?
I've investigated this issue and it looks like it can be easily fixed so let's do that.