Is it possible to sort the attribute options alphabetically?

Thanks in advance.