Group Results

Does anyone know how to group results from a search?

For example, search results on my app will display a table with records, but I would like to group those displayed records by Month.