sorted lined