Adding some instructions for the sorting function