adding missing end
order to @order
param fixed
test order by