SyntaxFix
Write A Post
Hire A Developer
Questions
objArray.sort((a, b) => a.DepartmentName.localeCompare(b.DepartmentName))