按数组元素的某属性排序


@users.sort!{|a, b| a.last <=> b.last }

    Posted by holin At May 11, 2008 14:35

请登录以发表评论。