Skip to content

Commit

Permalink
Sort speakers by first name
Browse files Browse the repository at this point in the history
Fixes #13
  • Loading branch information
BasThomas committed Aug 12, 2016
1 parent 0c8ddaf commit fbc540c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trySwift/SpeakersViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import UIKit

class SpeakersViewController: UITableViewController {

private let speakers = Speaker.speakers
private let speakers = Speaker.speakers.sort { $0.name < $1.name }
private let speakerDetailSegue = "speakerDetailSegue"

override func awakeFromNib() {
Expand Down

0 comments on commit fbc540c

Please sign in to comment.