[[ ProperList ]] Implement sort, apply and map functions for lists