0

Find the sortable years
code-golf number
The year 2013 had an interesting property: the digits are consecutive when sorted (0123). Unfortunately, this won't happen again until 2031, and after that, not until 2103. Your challenge is to write a program or function that, when given a non-negitiv...