team order sorting done. result printing and sorting almost complete. Missing all results printing funcionality. added debugging actions