You need to sort on the server.
Then you can:
send a complete set of results to the client and pagination on the client side . The problem is that the result set can be large for retrieving from db and sending it to the client.
. db. , , 1, . 2 .. , db . .
( ):
- , 300
- db 301
- ( 301 )
- 301 , " 300 . ".
1: , . ( ), , , . " 2023 , 300 ".
2: - , db ( , Oracle) . , 1 2, . , , (, ). Db . , (, ORDER BY date, PK), .
3: , .