sorted api, time to test its ass