Implement sort order as numeric value