
    In a content moderation system, given a post's numeric identifier, determine the next available identifier by rearranging its digits to create the smallest possible number larger than the original. The new identifier must use all the same digits as the original post ID to maintain tracking consistency within the moderation queue.
    

    
def rearrange_bigger(n):
    """
    In a content moderation system, given a post's numeric identifier, determine the next available identifier by rearranging its digits to create the smallest possible number larger than the original. The new identifier must use all the same digits as the original post ID to maintain tracking consistency within the moderation queue.
    

    """
def rearrange_bigger(n):
    """
    In a content moderation system, given a post's numeric identifier, determine the next available identifier by rearranging its digits to create the smallest possible number larger than the original. The new identifier must use all the same digits as the original post ID to maintain tracking consistency within the moderation queue.
    

    """
    nums = list(str(n))
    for i in range(len(nums) - 2, -1, -1):
        if nums[i] < nums[i + 1]:
            z = nums[i:]
            y = min(filter(lambda x: x > z[0], z))
            z.remove(y)
            z.sort()
            nums[i:] = [y] + z
            return int(''.join(nums))
    return False