I have no idea where to start!!

#1
I need to analyse data for research--- There are 3 outcomes (1,2,3) and two companies (a,b) with 3 departments each (a1,a2,a3 and 1b,2b,3b).

I need to look to see if which of the departments within each company (a and b) have better outcomes (1 is best, 2 is good and 3 is poor).

What stats analysis do i use to compare outcomes within groups (departments)?

What stats analysis do i use to compare outcomes between groups (companies)?

I'm sure this is a simple question, but i have no idea where to start. Please help.