@manchestermania
Check this out…
https://www.postgresqltutorial.com/postgresql-order-by/
and also this:
https://www.postgresqltutorial.com/postgresql-limit/