Skip to content

Commit

Permalink
sort by id for demo
Browse files Browse the repository at this point in the history
  • Loading branch information
anderssonw committed Jun 13, 2024
1 parent 1d2fd1d commit e44d2a7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ fun Application.baseRoutesV1(
route("/demospokelser") {
demoDoc()
get {
val spokelser = demoRepository.getDemospokelser();
val spokelser = demoRepository.getDemospokelser().sortedBy { it.id };

call.respond(spokelser)
}
Expand Down

0 comments on commit e44d2a7

Please sign in to comment.