select first_name from (
  select first_name,right(first_name,2) as right_name  from employees order by right_name
) as a