Changing to sort by integer rather than string for numbers