HHH-7116 test case and fix
HHH-7116 Moved orderBy fix to AbstractEntityJoinWalker.  Copyrights,
formatting, and checkstyle