Time entries made on the timesheet are by default sorted by the time entered on the timesheet. The time entries can be sorted based on the name of the tasks against which time has been entered. In order to do that, you need to click on the hyper-link available when you take your cursor on Tasks in the tasks column header on the timesheet. Once you click on this, the time entries made will be sorted out based on the tasks against which time has been entered.