generic type instantiations are generated into individual files
removing type instantiations sorting
generate _types in generated types