fix sort order when exporting report rows or generating fixtures