CHange order of queries parameters