Similar Items: Sharp Bounds for Sequential Federated Learning on Heterogeneous Data