Web Map: grouping layers

Idea created by lursu on Jan 28, 2016

    This idea has been merged with Group layers for ArcGIS online.

    It will be great if we can group (categorize) web layers in the Web Map the same as in a ArcMap product.
    I have a map service that I add multiple times (in a web map) using various filters and I created web layers out of it  but I would like to group them based on specific filters such as: Status (Active or Inactive) or Parameter types. Is there any solution for this?