Added interface for sorting lines alphabetically