Sort feature lists by feature type id to keep consistent order when generating variant productId values