You can't "sort the revs" as there is nothing to sort. The revs read correctly on either clocks, it's the position of the red line which is wrong as a diesel red lines before that shown on the clocks.
If you fit petrol clocks into a diesel, you have to accept that the revs only show part way around the dial, although the value is correct.
Bookmarks