BUG: GH3455 Duplicate indexes with getitem will return items in the correct order

BUG: GH3457 to_csv writing duplicate columns incorrectly
Merge pull request #3459 from jreback/GH3455

BUG: GH3455 Duplicate indexes with getitem will return items in the correct order