Write a function that determines the highest number in an array and sorts the array.
Use the function signature analyze_array(nums). The input is a non-empty list of integers. Return a dictionary containing the highest value under "highest" and a new ascending list under "sorted". Do not modify the input list.
def analyze_array(nums):