specified masked arrange function from package plyr