sort submitted resources based on timestamp