Change up sorting lists of log infos, fix a test
GetLogInfos can take optional offset and limit arguments