Collections.sort(infoItems);
	public ActionForward insert(		ActionMapping mapping,		ActionForm form,		HttpServletRequest request,		HttpServletResponse response)		throws FenixActionException {								HttpSession session = request.getSession(false);		UserView userView =(UserView) session.getAttribute(SessionConstants.U_VIEW);		DynaActionForm dynaForm = (DynaValidatorForm) form;		InfoSection infoSection = (InfoSection) session.getAttribute(SessionConstants.INFO_SECTION);		List infoItemsList = null;		GestorServicos manager = GestorServicos.manager();				Object readSectionArgs[] = { infoSection };						ArrayList items;						try {							items =								(ArrayList) manager.executar(									null,									"ReadItems",								readSectionArgs);						} catch (FenixServiceException fenixServiceException) {							throw new FenixActionException(fenixServiceException.getMessage());						}		Collections.sort(items);		InfoItem newInfoItem = new InfoItem();									Integer order = new Integer((String) dynaForm.get("itemOrder"));				switch (order.intValue()) {					case -1 :						order=new Integer(items.size());						break;								default :						order= new Integer(order.intValue());						break;				}				newInfoItem.setItemOrder(order);		String itemName = (String) dynaForm.get("name");		    	String information = (String) dynaForm.get("information");		String urgentString = (String) dynaForm.get("urgent");												InfoItem infoItem =				new InfoItem(information, itemName, order, infoSection, new Boolean(urgentString));			Object args[] = { infoItem };						try {				Boolean result = (Boolean) manager.executar(userView, "InsertItem", args);			} catch (FenixServiceException fenixServiceException) {				throw new FenixActionException(					fenixServiceException.getMessage());			}						Object args1[] = { infoSection };			ArrayList infoItems;			try {				infoItems =					(ArrayList) manager.executar(						null,						"ReadItems",						args1);						} catch (FenixServiceException fenixServiceException) {				throw new FenixActionException(					fenixServiceException.getMessage());			}			Collections.sort(infoItems);			session.setAttribute(SessionConstants.INFO_SECTION_ITEMS_LIST, infoItems);						return mapping.findForward("viewSection"); 						}