Here is how to generate an employee seniority table.
Go to data extraction :

Enter the following text in the window and the title of the report:

Test by clicking on the gearwheel:

The result looks like this:

Close this window and indicate the sorting :

Close this window and save the query :


The new list will be :

File to copy/paste the text here :