Annotate sortBy command