map file.sort as an integer so sorting works correctly

This field was mapped as a string and sorted as a string rather
than as a number.