LearnBoost/mongoose — Issue #671: Sort error message incorrect.
Author: Magicjarvis
Created: 2012-01-06 05:28:53+00:00
State: open

What the error produces "Error: Error: Illegal sort clause, must be of the form [['field1', '(ascending|descending)'], ['field2', '(ascending|descending)']]\n"

It produces this for a single argument, where the solution is to pass no list of lists into the .sort() modifier.