Added new SortedItemStreamWriter