Error in the consult..resultOrder