turned input filter dict into ordered dict