Fix lang variable - refs #7347
Minor - Format code - refs #7347
Fix profile template - refs #7347
Merge branch 'C7347' of https://github.com/aragonc/chamilo-lms into 7347
Sort the results of searched profiles - refs #7347
Merge pull request #8 from AngelFQC/7347

Sort the results of searched profiles - refs #7347