Create two new lists starting by one list but maintaining the id items as they are in the original list

Hello everyone,
I have an apparently easy task, obtain two list from one using a parameter value. I have filter the list using the dictionary nodes and now I have two list which both contain null value for certain items. Is this correct? Can I link this list to a list of distances and make dynamo tell me which element are the distance referred?
I know I can´t explain worst, but maybe I can add a screen

Why not use a List.GroupByKey node, and create a dictionary of the resulting groups output with the key as the unique keys output?