class DimensionalObjectUtils {

    public static String sortKey( String key )
    {
        if ( key != null )
        {
            List<String> ids = Lists.newArrayList( key.split( DIMENSION_SEP ) );
            Collections.sort( ids );
            key = StringUtils.join( ids, DIMENSION_SEP );
        }

        return key;
    }

}