paginate

fun <ERROR CLASS>.paginate(with: Pagination, orderBy: Pair<<ERROR CLASS><out <ERROR CLASS>>, <ERROR CLASS>>? = null): <ERROR CLASS>
fun <ERROR CLASS>.paginate(with: Pagination, orderBy: <ERROR CLASS><out <ERROR CLASS>>?, reversed: Boolean = false): <ERROR CLASS>