mapping: sort case insensitive; reduce table length