fix sort order of attributes in toScala

and print method in Model
partial fix m.pp(Prio, Gist) columns spacing