Trovata Interview Question

1. Connect to a given REST API 2. Restructure the returned data 3. Perform some calculations on the restructured data 4. Sort the data according to the calculations