you need to use the sort function