Reference Number Sorting

This appears to be a bug (Desktop version 22.1.72)
By default the order is descending by date
image
and when sorted by reference (ascending or descending) the numbers are treated as text not numbers. I think this is an old bug which has resurfaced see

image
image