PIM-1911 : introduce sorter configurator spec and add logical exception
when attribute type is not well configured