Order exchanges by index from the metadata