UnionOfRAD/lithium — pull request #346 by marcghorayeb (2012-02-21 21:34:53+00:00)
Title: Fix and test for issue #339, mysql order bug with a related field.

This fixes the bug that I've been having, thanks @nateabele for the fix.
I still feel that this is more of a hack since single fields are tested against their schema and related fields are accepted as a fallback, I might dive into it if I have the time later on though (when the schema class will be ready?).