package Ġcom . mov i ess ample app . use case Ċ Ċ import Ġcom . mov i ess ample app . data . Movie Ċ import Ġcom . mov i ess ample app . repository . Movies Repository Ċ import Ġjavax . inject . Inject Ċ Ċ /** Ċ Ġ* ĠCreated Ġby ĠN ade em Ġon Ġ 1 9 / 1 0 / 2 0 2 1 . Ċ Ġ*/ Ċ class ĠMov ies Sample UseCase Ġ@ Inject Ġconstructor ( private Ġval Ġmovies Repository : ĠMov ies Repository ) Ġ{ ĊĊĠĠĠ Ġsuspend Ġfun Ġinvoke (): ĠList < Movie > Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġmovies Repository . retrieve Movies (). sorted By Ġ{ Ġit . title Ġ} ĊĠĠĠ Ġ} Ċ Ċ }