Sort by mappings.