How to group objects according to a field of an object during a loop

the data fetched by the background is an array of multiple objects
as shown in figure
clipboard.png

how do I group objects according to the value of a field of these objects

Mar.01,2021

do not understand, how to group?
filter? It is more suitable to use filter method.

Menu