i have a function that pulls and sorts data from an api ( getactivity() ) and then returns the sorted data in the correct format ( answer1 ). but im running into a problem..