Add a missing constructor implementation.
Use the default settings when options are omitted.
Refine codes.
Add missing initialization.
Add a test for Sorter.