fixed sorting, updated sample data to be compatible with current versions of R, metafor (Study names must be unique)