rose bush: Fix integer cycle sorting

Fixes integer cycle sorting in rose bush.