stan-dev/stan — pull request #59 by randommm (2013-05-19 00:30:12+00:00)
Title: sort_asc(v), sort_desc(v) and rank(v,s) functions

Continuing pull request #38, which was closed due to the new gitflow.

Now with everything: rev and fwd auto-diff and their unit tests for sort functions.