Add group sort by type order

Now group are sort width associated weight:
 - focus   : 1
 - devices : 2
 - others  : 3
 - pgms    : 4