package com.gitlab.artismarti.tinbo.notes

import com.gitlab.artismarti.tinbo.common.Entry

/**
 * @author artur
 */
class NoteEntry(val message: String = "") : Entry() {

	override fun compareTo(other: Entry): Int {
		if (other !is NoteEntry) return 1
		return message.compareTo(other.message)
	}

	override fun toString(): String {
		return "$message"
	}

}

package com.gitlab.artismarti.tinbo.notes

import com.gitlab.artismarti.tinbo.common.Entry

/**
 * @author artur
 */
class NoteEntry(val message: String = "") : Entry() {

	override fun compareTo(other: Entry): Int {
		return 1
	}

	override fun toString(): String {
		return "$message"
	}

}

Remove sorting of notes in list command
Remove sorting of notes in list command

arturbosch/TiNBo,arturbosch/TiNBo,arturbosch/TiNBo