Is there any way to fetch records in ascending order by Name Field?

Is there any way to fetch records in ascending order by Name Field?

  1. for each userItem in User [ ID != null ] sort by Name.first_name
  2. {
  3. }