sb reorder function init