preserve order of chosen categories when used as a picklist