Sorting wizard config by weight before rendering

 - added sorting functionality

Change-Id: I2d7e26bc337c7eebf213022ce00ee6486c033694
Closes-bug: 1350938
Merge "Sorting wizard config by weight before rendering"