Sort types by basic/parametrized