Implement order of manual queries