2011/7/1 Gunther Diemant <g.diemant / gmx.net>:
> Nice. Little mistake (same as mine). Code should be array.sort_by { |e|
> [e.a, -e.b] }

Yeah :)

So I've lot of solutions right now, and all of them work :)

I'll do some benchmarks and select the fastest one.

Really thanks to all, this community is really impresive.

-- 
Iaki Baz Castillo
<ibc / aliax.net>