type should be in first place

In RIS format the tag "TY" must be in first place (tags were alphabetically ordered).