# How to control grid sweep's parameters order?

**URL:** <https://community.wandb.ai/t/how-to-control-grid-sweeps-parameters-order/1648>\
**Category:** W&B Help\
**Tags:** sweeps\
**Created:** [December 30, 2021, 10:12pm UTC](https://community.wandb.ai/t/how-to-control-grid-sweeps-parameters-order/1648 "2021-12-30T22:12:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rylan](https://avatars.discourse-cdn.com/v4/letter/r/97f17d/32.png) [@rylan](https://community.wandb.ai/u/rylan)\
**Post date:** [December 30, 2021, 10:12pm UTC](https://community.wandb.ai/t/how-to-control-grid-sweeps-parameters-order/1648/1 "2021-12-30T22:12:14Z")

</div>

I have several parameters that I intend to grid sweep e.g. batch size, learning rate and optimizer. How can one specify the order in which the parameters are changed?

For instance, suppose I think choice of optimizer will matter least and learning rate will matter most. I’d like to try all possible learning rates on one optimizer before moving on to the next optimizer. How do I do this?

---

<div class="post-metadata">

**Author:** ![rylan](https://avatars.discourse-cdn.com/v4/letter/r/97f17d/32.png) [@rylan](https://community.wandb.ai/u/rylan)\
**Post date:** [December 30, 2021, 10:14pm UTC](https://community.wandb.ai/t/how-to-control-grid-sweeps-parameters-order/1648/2 "2021-12-30T22:14:57Z")

</div>

Based on the below plot, it looks like wandb might alphabetize the parameters and then change the last ones (alphabetically speaking) most frequently. Is that correct? If so, how do I change that?

 ![image](https://us1.discourse-cdn.com/flex020/uploads/wandb/original/1X/22c83bedee795f087ef188798cfc7f979ec22117.jpeg)

---

<div class="post-metadata">

**Author:** ![ramit\_goolry](https://avatars.discourse-cdn.com/v4/letter/r/85e7bf/32.png) [@ramit\_goolry](https://community.wandb.ai/u/ramit_goolry)\
**Post date:** [January 3, 2022, 5:45pm UTC](https://community.wandb.ai/t/how-to-control-grid-sweeps-parameters-order/1648/3 "2022-01-03T17:45:35Z")

</div>

Hi @rylan,

This is not supported currently. I have created a feature request for this, I’ll keep you updated on the status of the request!

Thanks,  
Ramit

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/wandb/original/1X/366b649231631dbab896843020da0056074ac79d.png) [@system](https://community.wandb.ai/u/system)\
**Post date:** [March 4, 2022, 5:45pm UTC](https://community.wandb.ai/t/how-to-control-grid-sweeps-parameters-order/1648/4 "2022-03-04T17:45:56Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
