Michael Irwin
Michael Irwin

Reputation: 3149

What is this type of sort called?

For example, a list of strings:

The Foo
A Bar

To remove the leading "The" and "A" and sort by the remaining characters, what is that type of sort called?

Upvotes: 0

Views: 33

Answers (1)

om-nom-nom
om-nom-nom

Reputation: 62835

There is no specific name for such sort. Apply normalization (remove articles, switch to the same case) and then, likely, sort lexicographically

Upvotes: 1

Related Questions