Made sort in VersionedFolder consistent.