docs: public static String[] sortData(final File csvData, final String encoding)
  		throws FileNotFoundException, IOException
  	{
  		final List<String> fn = new ArrayList<>();
  		try (BufferedReader reader = (BufferedReader)StreamExtensions.getReader(csvData, encoding,
  			false))
  		{
  			// the line.
  			String line = null;
  			int index, last;
  			// read all lines from the file
  			do
  			{
  				line = reader.readLine();
  				// if null break the loop
  				if (line == null)
  				{
  					break;
  				}
  				// initialize the last
  				last = 0;
  				// get the index from the comma
  				index = line.indexOf(',');
  
  				while (index != -1)
  				{
  					// get the next firstname and remove the whitespaces.
  					final String firstname = line.substring(last, index).trim();
  					// added to the list
  					fn.add(firstname);
  					// set last to the next position
  					last = index + 1;
  					// get the next index from the comma in the line
  					index = line.indexOf(',', last);
  				}
  			}
  			while (true);
  		}
  		catch (final IOException e)
  		{
  			throw e;
  		}
  		// convert the list to a String array.
  		final String data[] = fn.toArray(new String[fn.size()]);
  		// and sort the array.
  		Arrays.sort(data);
  		return data;
  	}