Accept non-string literals when ordering by function.
Merge pull request #5 from mdx-dev/feature/order-by-function-types

Accept non-string literals when ordering by function.