Say I have a JOB and COMPANY table and a third JOB_COMPANY table that relates the two in a many-to-many cardinality.
I've learnt that it's an anti-pattern for the JOB_COMPANY to have a surrogate id PK.
The PK should probably be a composite (job_id,company_id).
In this case, following the best practice, how would I sort the JOB_COMPANY by insertion order (and DESCENDING also)?
Would this case justify a surrogate id PK?