Sort out wrapper