quite/alot — comment on commit bd8ba8effb717ee50d0963d1f4ca7ea1a77d1f45
File:  line 0
By pazz:

ok agreed.
sorry to be so picky: i like the feature, but it should be possible to do this without having to construct this dict every time you want to compute this index integer, which is done for every header in the message if i see this correctly.

why not read the setting in `HeadersList._build_lines` at the very end, and sort the constructed headerlist in one go according to the setting list? sth like:

```
newlist = []
for key in setting.get('sort_order'):
if key in headerslist:
newlist.append( # key value, as constructed widgets
remove pair from headerslist
# add rest of the headerslit to the bottom of newlist
return newlist
```