Sort and reorganize version pins