Added patch to fix ordering of IP addresses by metric if two addresses have the same metric.
Added patch to fix handling of empty section and key name for profile files.