Order of the categories of data points in the training data set while feeding net

May l just pass one category after another or I have to mix them up for productive training?

That’s the classification problem if that matters…