From: Jeremy J C. <jj...@sy...> - 2014-11-05 23:14:51
|
> On Nov 5, 2014, at 1:02 PM, Bryan Thompson <br...@sy...> wrote: > > There could be an issue with ORDER BY operating on an anonymous and non-projected variable. Try declaring and binding a variable for STR(?label) inside of the query and then using that variable in the ORDER BY clause. Yes I tend to find the results of ORDER BY are more what I expect if I do not include an expression in the ORDER BY but simply variables. I BIND any expression before the ORDER BY. I believe there is a trac item for this, but since the workaround is easy, I have never seen it as high priority Jeremy |