Started playing with Meteor recently and came across a problem: I have collection of records that are stored in MongoDB and represent tests and each test record has nested collection/array of test execution results. On front-end I'm trying to display list of tests ordered by number of successful or failed test executions. That number is not stored in DB and is result of calculation.
Can anyone suggest an idea how to implement that in Meteor? I haven't found a way to sort by calculated property and was looking for ideas how to make virtual/proxy collection that is based on real one and display/sort virtual but wasn't able to find anything yet.
Your help is much appreciated.