:group by sorting question and issues

Is the output list of :group by always sorted by the creation date of the "field 1 to group by "? I am trying to run a workflow to create a list of numbers but the :group by function does not allow post aggregation sorting. This is problematic as I’m creating a bunch of different graph series that have to have their values be in the same order as the X-axis on a Chart-JS bar chart so that the series values correspond to the underlying axis correctly.

If the :group by function always orders based on the creation date of the group by field, I can simply solve by sorting the X-axis the same way, but would love to hear if others know if this is always the case! I’m fairly confused why I can’t sort the group values after aggregation by anything other than the aggregated numbers themselves. :face_with_raised_eyebrow:

Thanks in advance!

Screen Shot 2022-06-27 at 3.15.14 PM
Screen Shot 2022-06-27 at 3.15.48 PM

Screen Shot 2022-06-27 at 3.17.45 PM
Screen Shot 2022-06-27 at 3.18.19 PM

Perhaps check this thread?

Josh @ Support Dept
Helping no-code founders get unstuck fast :rocket:save hours, & ship faster with an expert :man_technologist: on-demand

I post daily about no-code and Bubble on Twitter Follow Support Dept on Twitter

@josh24 - Thanks! I wrote to the author.

1 Like