code: protected Properties loadPropertiesFile(File propertiesFile) throws ConfigurationException, IOException {
  		Properties properties = new Properties() { // sorted properties
  			private static final long serialVersionUID = 7793482336210629858L;
  			
  			@Override
  			public synchronized Enumeration<Object> keys() {
  				return Collections.enumeration(new TreeSet<Object>(super.keySet()));
  			}
  		};
  		
  		FileInputStream fileInputStream = new FileInputStream(propertiesFile);
  		properties.load(fileInputStream);
  
  		return properties;
  	}
docs: <p>
  This loads a properties file into a java.util.Properties object with
  sorted keys.<br/><br/>
  
  <b>NB</b>: always use keys() method to browse the properties
  </p>
  
  @param propertiesFile
  @return
  @throws ConfigurationException
  @throws IOException