diff --git a/misc-scripts/xref_mapping/xref_mapper.pl b/misc-scripts/xref_mapping/xref_mapper.pl
index 8504ca516ab47a1ddf6bad6c6674a82d0362f29a..128a3844c5f7312111b6f6f2e32e5fa0bb56eda1 100644
--- a/misc-scripts/xref_mapping/xref_mapper.pl
+++ b/misc-scripts/xref_mapping/xref_mapper.pl
@@ -386,6 +386,8 @@ if($upload){
   print "\nChecking pair data\n";
   $mapper->add_missing_pairs();
 
+  print "\nPriority unmapped xrefs sorting\n";
+  $mapper->unmapped_data_for_prioritys();
 
   print "\nChecking xrefs\n";
   $mapper->cleanup_database();