How to sort the members of a class? like:
1. properties then 2. private 3. methods 4. ctors
... and so on. are there any recommendations?
And what is better?
class A { private: int a; int b; public: int c; int d; }
or
class A { private { int a; int b; } public { int c; int d; } }