You can't just randomly rearrange the pg_enc enum without forcing aninitdb, because the numeric values of the encodings appear in systemcatalogs (eg pg_conversion).
regards, tom lane