sort and clean package.accept_keywords