added ability to pass various objects to Sorter::add()

Signed-off-by: Blessing Osakue <iyoworks@gmail.com>