sort line on MainActivity