The lines on a 20 x 4 LCD usually wrap 0 > 2 > 1 > 3 because of the buffer layout inside the controller chip.