Well, the class I shared is a real world example 🙂
As for the specific case you mentioned, I don't think there is any common convention. I tend to agree with your stated opinion about ordering by appearance in code.
If Android style guide is an issue, you can reorder the code so that all params come before properties, then your doc would conform both to Android convention and the common sense ordering 🙂