Pull logs fetch into view code to change ordering