class Mail::Body

def set_sort_order(order)

type coming after.
Defaults to 'text/plain', then 'text/enriched', then 'text/html' with any other content
Allows you to set the sort order of the parts, overriding the default sort order.
def set_sort_order(order)
  @part_sort_order = order
end