Create an algorithm in Python that takes an array of strings and sorts them in alphabetical order.
['Jan', 'June', 'Raju', 'April']
def alphabeticalSort(arr):
    arr.sort()
    return arr

result = alphabeticalSort(['Jan', 'June', 'Raju', 'April'])
print(result)