I built a small Swift Array Extension called “VibeSort” for the new iOS 26 Foundation Models:

(You’ll never have to guess again what areInIncreasingOrder actually means)

Just type what you want and the LLM will sort it out at runtime ;)

@frederik I'm not at all sure whether I want to know what this code prints ...

(@iosdevweekly needs to see this.)

@teilweise @iosdevweekly
🥹🥹🥹
Original: [45, 12, 34, 78, 23, 54, 98, 76, 54, 32]
Sorted: [32, 45, 54, 54, 76, 78, 98, 12, 23, 34]
@frederik Extra points for calling it with smallest to highest instead of smallest to biggest or lowest to highest.