In the realm of mongodb, there isn't a straightforward method to accomplish this task as far as I am aware. The optimal solution entails performing the sorting operation on the client side after retrieving all values and selecting the lowest one.
To address performance issues, consider adding a new property named min_measured_data to your mongoose model. By utilizing pre 'save' with mongoose, you can compare any incoming measured data against the current minimum value. If the new data is lower, update the min_measured_data accordingly. This approach guarantees an O(1) retrieval process for this property instead of requiring sorting each time it's needed.