List items on alphabetical order 2/5(1) With this Javascript snippet it is possible te make a list with items on alphabetical…