Linux Horizontal Sort