Change order of querys in ip pool