Meta Interview Question

Given a string of integers, find the next numerical permutation.