lastline: search `\n` from an inverted sort