Task sorting help needed

When sorting my tasks I have sorted by folder, then due date and time, then priority. This has grouped the due dates together for me in a folder as I wanted but it also seems to place the tasks due sooner(i.e. today or tomorrow) at the bottom of the list and those due later at the top. Is there a way to reverse this in that those task due sooner are at the top of the list within the respective folder?

Yes, you can reverse the sort direction. On this website, select either the "normal" or "reverse" radio buttons when picking the sort. On the iPhone/iPad, tap on the sort item multiple times to change the direction.