How does keras train without disrupting the data set order I want to train a neural network using keras. 

model.fit(trainX, trainY, batch_size=400, epochs=1000,shuffle=False)


I want the model training using the sequence of original data set order, not shuffle.
By default, Keras will shuffle training data before each epoch (shuffle=True). 

If you would like to retain the ordering of your dataset, then set shuffle=False (docs here).