fixed groups and presets height and also added sort for groups