a little cleanup
sort format db removed