listGroupsByNames: Organize values into list and sort by names
Description
Sort values of 'x' by its names and organize as list by common names, the names until 'sep' are used for (re)grouping.
Note that typical spearators occuring the initial names may need protection by '\' (this is automatically taken care of for the case of the dot ('.') separator).