// Path: app/src/main/java/org/kore/kolabnotes/android/content/NoteSorting.java
// public final class NoteSorting {
//     public enum Direction{
//         ASC,DESC;
//     }
// 
//     private final Direction direction;
//     private final String columnName;
// 
//     public NoteSorting(Utils.SortingColumns columnName, Direction direction) {
//         this.direction = direction;
//         this.columnName = columnName.name();
//     }
// 
//     public NoteSorting(){
//         this(Utils.SortingColumns.lastModificationDate,Direction.DESC);
//     }
// 
//     public Direction getDirection() {
//         return direction;
//     }
// 
//     public String getColumnName() {
//         return columnName;
//     }
// 
//     @Override
//     public String toString() {
//         return "Ordering{" +
//                 "direction=" + direction +
//                 ", columnName='" + columnName + '\'' +
//                 '}';
//     }
// }


import org.kore.kolab.notes.Note;
import org.kore.kolabnotes.android.content.NoteSorting;
import java.util.Comparator;
package org.kore.kolabnotes.android;



/**
 * Created by koni on 22.07.15.
 */
public class NoteSortingComparator implements Comparator<Note> {

    private final NoteSorting sorting;

// Path: app/src/main/java/org/kore/kolabnotes/android/content/NoteSorting.java
// public final class NoteSorting {
//     public enum Direction{
//         ASC,DESC;
//     }
// 
//     private final Direction direction;
//     private final String columnName;
// 
//     public NoteSorting(Utils.SortingColumns columnName, Direction direction) {
//         this.direction = direction;
//         this.columnName = columnName.name();
//     }
// 
//     public NoteSorting(){
//         this(Utils.SortingColumns.lastModificationDate,Direction.DESC);
//     }
// 
//     public Direction getDirection() {
//         return direction;
//     }
// 
//     public String getColumnName() {
//         return columnName;
//     }
// 
//     @Override
//     public String toString() {
//         return "Ordering{" +
//                 "direction=" + direction +
//                 ", columnName='" + columnName + '\'' +
//                 '}';
//     }
// }


// Path: app/src/main/java/org/kore/kolabnotes/android/NoteSortingComparator.java
import org.kore.kolab.notes.Note;
import org.kore.kolabnotes.android.content.NoteSorting;
import java.util.Comparator;

package org.kore.kolabnotes.android;



/**
 * Created by koni on 22.07.15.
 */
public class NoteSortingComparator implements Comparator<Note> {

    private final NoteSorting sorting;

    public NoteSortingComparator(NoteSorting sorting) {