A quick little line sorter