title: How to sort key names in ipywidgets interactive widgets (slider)?
body: <p>I am trying to make interactive sliders with ipywidgets on jupyter notebook to change the data of a plot when a user changes a slider Widget, which is simple and we can find example codes easily. The problem that I have is twofold: 1) when there are many parameters (= variables,sliders) in my function to be displayed, sliders are vertically arranged so that it is getting hard to control them without scrolling the jupyter page. Is there any way to arrange sliders as I wish like m by n grid? 2) To pass a large number of integer-/float-valued sliders, I made a single dictionary to be passed to the function interactive. Here, the key (=slider/variable/parameter) names are displayed seemingly in random order. I tried to pass the dictionary after sorting by the key names beforehand, but it does not still resolve the issue.</p>
  
  <p>I'd appreciate it if you can share any ideas.</p>
  
  <pre><code>def myfun(**var_dict):
      v = [value for value in var_dict.values()]
      return np.sum(v)
  
  var_dict = {'var1':1,'var2':2,'var3':3,'var4':4}
  w = interactive(myfun,**var_dict)
  display(w)
  </code></pre>
  
  <p><a href="http://i.stack.imgur.com/P1CS8.png" rel="nofollow">ipywidgets interactive sliders</a></p>