Use built in sort function