X_ref is not appropriately re-ordered if the column names aren't in order; potentially leading to misleading plot predictions