is it possible to query .order based on a variable?
I have this query I am returning it by order('desc') but im assuming is desc based on the _creationTime. Is it possible or how would I do it if I what to sort the date variable not the _creationTime variable? I included the schema and the function