getProductsPaginated

fun getProductsPaginated(page: Int, pageSize: Int, sortBy: String = "name", ascending: Boolean = true): List<Product>

Paginated product listing with sorting