Javascript

Can you develop a JavaScript function to sort an array of strings alphabetically?

Did you come across this question in an interview?

Interview question asked to Frontend Engineers interviewing at Remedy Entertainment, Square, Siemens and others: Can you develop a JavaScript function to sort an array of strings alphabetically?.