use sort directly without cat