ORDER BY rev_timestamp: rev_id doesn't ensure chronological order

Case in point: imported revisions. Fixes issue #43.