Convert Sort Expression to SQL
Converts 'sort format' to 'SQL format'. E.g.:
-id->id DESC NULLS LASTid->id ASC NULLS LASTid-->id ASC NULLS FIRST-aired,id->aired DESC NULLS LAST, id ASC NULLS LAST
Example
# use ;
# use ToOwned;
assert!;
assert!;
(See tests for more examples.)