I don't believe that

    Properties.stringPropertyNames()

will iterate over the property names in the order that they appear in the properties file.