Orders write correctly with pandas
#TODO: remove remains of old writer