code: private Storepoint getCurrentStorepoint(Project phoenixProject)
     {
        List<Storepoint> storepoints = phoenixProject.getStorepoints().getStorepoint();
        Collections.sort(storepoints, new Comparator<Storepoint>()
        {
           @Override public int compare(Storepoint o1, Storepoint o2)
           {
              return DateHelper.compare(o2.getCreationTime(), o1.getCreationTime());
           }
        });
        return storepoints.get(0);
     }
docs: Retrieve the most recent storepoint.
  
  @param phoenixProject project data
  @return Storepoint instance