annotation for sort() function