HP mapping file is now written sorted.