From: "Haris Bogdanović" Date: 2009-07-11T20:45:05+09:00 Subject: one line sorting Hi. I would like to implement a sorting algorithm in one line of code if possible. n=[7,4,9,55,98,11,42] n.inject(n[0]) {|min, i| min=i if i