Skip to content

Special cases don't work well with non-ID-sorting mode

Noticed while working on #1 (closed).

It's a problem that in all other modes we always prepend the special case result in the switch case.

Instead, we should add a parameter to specialCases() for the sort-mode based "item name" (replacing the need for the String sortString = item.toString(); line in that method).