finding users first name and last name

can someone help me how do i do this..
Display user id, first and last names of all the members of your CIS132 class in alphabetical
order by last name.
Hint:
� All classmate names are in the file /etc/passwd
� the first 5 characters in the user id are the same for all class members. (s132a)

All homework should be posted here, with special rules in place.