Added a mapping for sorting