How may I reorder the values of rows alphabetically? If I have the following dataset:
DOC A B C D
1 Doc1 apple coconut berry pear
2 Doc2 prune apple banana berry
3 Doc3 coconut cherry apple banana
4 Doc4 berry banana pear prune
The desired subset output would be:
DOC A B C D
1 Doc1 apple berry coconut pear
2 Doc2 apple banana berry prune
3 Doc3 apple banana cherry coconut
4 Doc4 banana berry pear prune
Thanks in advance!