sort wildcard numbers