export sorted results