I have a file months.txt with the following text:

```
JAN, MAR, DEC, FEB, JUN, APR

```

In bash I write the following line of code:

```
cat months.txt | sort -M

```

I assumed that this would output the text file, sorted by month. However the output is not sorted. Am I using sort incorrectly?