Sort results by character as well as line.