order data frame in=place instead of copying to a smaller matrix