Fix SortedDump with arrays