Trying desperately to be able to sort by a calculated value within Bubble.
Also trying to send a JSON for external sorting, but can’t figure out how to send a calculated value in a repeating group as a JSON to a server to sort, and send back to Bubble sorted from high to low price values.
Can sorting calculated values be done within Bubble yet?
Or the ability to send non-database saved values (calculated values on the page) out as JSON to be able to be sorted in a different server?
I’ve run into this in a few different places and it’s very annoying. Most of the time I end up feeding the calculated value back into a field in the database via a workflow if I really need to sort by that value, but this can really bog down the app speed wise. The Instant Calculator plugin can help with this if you want to try that method.
It would be nice to be able to store a custom state in an object inside a repeating group to achieve this.
Similar to Expedia.com (as an example) the user inputs a departure and a destination airport, then the flight ticket prices load, and the prices then need to be sorted from highest to lowest (or lowest price to highest price) but because the prices are calculated on load based on the user inputs (departure and destination) there is no way to sort the values!