Ordered trends value arguments to match FormaValue* args
Fully implemented functions, queries, tests for working with trends in pail
WIP: Integrating trends stored in pail into full workflow