给出一组英文单词，使用适当的算法将它们按字母顺序排序。
programming, language, computer, code, algorithm
algorithm, code, computer, language, programming. 

One possible algorithm to sort the words in alphabetical order is the "quicksort" algorithm. Here is an example implementation in Python:

```
def quicksort(words):
    if len(words) <= 1:
        return words
    pivot = words[len(words)//2]
    left = [word for word in words if word < pivot]
    middle = [word for word in words if word == pivot]
    right = [word for word in words if word > pivot]
    return quicksort(left) + middle + quicksort(right)

words = ['programming', 'language', 'computer', 'code', 'algorithm']
sorted_words = quicksort(words)
print(sorted_words)
``` 

The output will be:

```
['algorithm', 'code', 'computer', 'language', 'programming']
```