Use reduce() instead of sortBy().take() to get the ordered elements.
Use reduce() instead of sortBy().take() to get the ordered elements.

rickyHong/sparkR-dist,nvoron23/SparkR-pkg,kcompher/SparkR-pkg,Liziyao/SparkR-pkg,rickyHong/sparkR-dist,nvoron23/SparkR-pkg,LeoYao/SparkR-pkg,amplab-extras/SparkR-pkg,RevolutionAnalytics/SparkR-pkg,kuch4r/SparkR-pkg,kimchitsigai/SparkR-pkg,EugenePig/SparkR-pkg,amplab-extras/SparkR-pkg,RevolutionAnalytics/SparkR-pkg,xzw0005/SparkR-pkg,rickyHong/sparkR-dist,xzw0005/SparkR-pkg,liyuqi/SparkR-pkg,EugenePig/SparkR-pkg,xzw0005/SparkR-pkg,Draki/SparkR-pkg,kuch4r/SparkR-pkg,EugenePig/SparkR-pkg,rickyHong/sparkR-dist,RevolutionAnalytics/SparkR-pkg,liyuqi/SparkR-pkg,LeoYao/SparkR-pkg,Draki/SparkR-pkg,liyuqi/SparkR-pkg,amplab-extras/SparkR-pkg,xzw0005/SparkR-pkg,nvoron23/SparkR-pkg,Liziyao/SparkR-pkg,LeoYao/SparkR-pkg,kcompher/SparkR-pkg,kimchitsigai/SparkR-pkg,kcompher/SparkR-pkg,liyuqi/SparkR-pkg,kcompher/SparkR-pkg,kimchitsigai/SparkR-pkg,Liziyao/SparkR-pkg,kuch4r/SparkR-pkg,RevolutionAnalytics/SparkR-pkg,kuch4r/SparkR-pkg,LeoYao/SparkR-pkg,Draki/SparkR-pkg,amplab-extras/SparkR-pkg,nvoron23/SparkR-pkg,Liziyao/SparkR-pkg