Fix sleepsort converting elements to integers.