added fry lists, updated multigsub to allow sorted patterns.