Cut the first and third fields (separated by commas) from the file /etc/passwd, sort the output by the second field, and for each line of output, echo "username: {}" (where {} is the line of output).
cut -f1,3 -d, /etc/passwd | sort -k2 | xargs -I{} echo "username: {}"