change order of history table entries