added sortByTitle() method in SortBookDialog.java.