Build custom Iterator for GridSearch for keeping parameters in order given