There's no documentation for this item.
# File action_mailer/vendor/tmail-1.1.0/tmail/compat.rb, line 27 def sort_by map {|i| [yield(i), i] }.sort.map {|val, i| i } end
<code/>
<pre/>
<code/>and<pre/>for code samples.