Merged color sorter with pic sorter.

Plus converted the project to C#.