[misc] Change the order of patient loading, since custom data may rely on features or diseases
[cleanup] Applied codestyle