edited pins to index by reversed chronological order