removed sort.data.frame; functionality unnecessary (already in plyr package)