Snippets has posted 5883 posts at DZone. View Full User Profile
Onliners below create and then sort it in a ascending and descending fashion.
> l <- c(179, 201, 206, 217, 222, 234, 267, 10)//create simple list//
>l[order(l)] //sort ascending//
> l[rev(order(l))] //sort descending.//
DZone's 170th Refcard is an essential reference to Camel, an open-source, lightweight, integration library. This Refcard is authored by...