Payroll Employee Numbering System Alphabetical Order

We give employees a number when they are hired and they are sorted by their number, not their last name.

How can they be sorted by their name and not their number?