Hi, i have array with file names
a = ['one.jpg', 'two.txt', 'three.pdf']
how can i sort it that always first value will be *.txt file ?

Thanks, fryt
-- 
Posted via http://www.ruby-forum.com/.