Order of the session

The session order should be by date and hour not by last entered session. how can i change that I have granted you access.
this happeneed because i made a correction and now it is showing as new entry and not correct time of the session
Please help