{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/8920","labels_url":"https://api.github.com/repos/apache/spark/issues/8920/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/8920/comments","events_url":"https://api.github.com/repos/apache/spark/issues/8920/events","html_url":"https://github.com/apache/spark/pull/8920","id":108426089,"number":8920,"title":"[SPARK-10836] [SparkR] Added sort(x, decreasing, col, ... ) method to DataFrame","user":{"login":"NarineK","id":12010601,"avatar_url":"https://avatars.githubusercontent.com/u/12010601?v=3","gravatar_id":"","url":"https://api.github.com/users/NarineK","html_url":"https://github.com/NarineK","followers_url":"https://api.github.com/users/NarineK/followers","following_url":"https://api.github.com/users/NarineK/following{/other_user}","gists_url":"https://api.github.com/users/NarineK/gists{/gist_id}","starred_url":"https://api.github.com/users/NarineK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NarineK/subscriptions","organizations_url":"https://api.github.com/users/NarineK/orgs","repos_url":"https://api.github.com/users/NarineK/repos","events_url":"https://api.github.com/users/NarineK/events{/privacy}","received_events_url":"https://api.github.com/users/NarineK/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":31,"created_at":"2015-09-25T23:57:15Z","updated_at":"2015-10-05T03:10:16Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/8920","html_url":"https://github.com/apache/spark/pull/8920","diff_url":"https://github.com/apache/spark/pull/8920.diff","patch_url":"https://github.com/apache/spark/pull/8920.patch"},"body":"the sort function can be used as an alternative to arrange(... ).\r\nAs arguments it accepts x - dataframe, decreasing - TRUE/FALSE, a list of orderings for columns and the list of columns, represented as string names\r\n\r\nfor example:\r\nsort(df, TRUE, \"col1\",\"col2\",\"col3\",\"col5\") # for example, if we want to sort some of the columns in the same order\r\n\r\nsort(df, decreasing=TRUE, \"col1\")\r\nsort(df, decreasing=c(TRUE,FALSE), \"col1\",\"col2\")"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/145419045","html_url":"https://github.com/apache/spark/pull/8920#issuecomment-145419045","issue_url":"https://api.github.com/repos/apache/spark/issues/8920","id":145419045,"user":{"login":"SparkQA","id":8108735,"avatar_url":"https://avatars.githubusercontent.com/u/8108735?v=3","gravatar_id":"","url":"https://api.github.com/users/SparkQA","html_url":"https://github.com/SparkQA","followers_url":"https://api.github.com/users/SparkQA/followers","following_url":"https://api.github.com/users/SparkQA/following{/other_user}","gists_url":"https://api.github.com/users/SparkQA/gists{/gist_id}","starred_url":"https://api.github.com/users/SparkQA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SparkQA/subscriptions","organizations_url":"https://api.github.com/users/SparkQA/orgs","repos_url":"https://api.github.com/users/SparkQA/repos","events_url":"https://api.github.com/users/SparkQA/events{/privacy}","received_events_url":"https://api.github.com/users/SparkQA/received_events","type":"User","site_admin":false},"created_at":"2015-10-05T03:10:16Z","updated_at":"2015-10-05T03:10:16Z","body":"  [Test build #43231 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/43231/consoleFull) for   PR 8920 at commit [`c76bf5f`](https://github.com/apache/spark/commit/c76bf5f53714dc724b211e93140d80c8a95ca4d7)."}}