silly sort in ruby