Added required doc skeleton for sort

Also export sort