Apple interview question

How do sort, filter, find and map array functions work