allow to order by distance

error message is missleading..  should indicate that it is in the order by context.