Added custom sorting algorithm to restore the old sorting system of the school's substitution plan that ordered by group first, then time, instead of the other way around

This commit is contained in:
Deniz Düzgören
2019-09-23 22:25:05 +02:00
parent 7243d35cf2
commit 1882034ec5
5 changed files with 64 additions and 10 deletions
@@ -13,7 +13,8 @@ internal data class Substitution(
val additional: String,
val teacher: String,
val type: String,
val priority: Int
val priority: Int,
val date_priority: Int
) {
@PrimaryKey(autoGenerate = true)