Consistent format handling
Move algorithms into tables
Move formats into a table
Move orders into a table
No need for placeholders now
Use the detail trick