Replaced Properties with Gson in SorterConfig. Added some simple tests for
SorterConfig.