Sort file in order they uploaded