{"action":"opened","issue":{"url":"https://api.github.com/repos/PredixDev/px-inbox/issues/6","repository_url":"https://api.github.com/repos/PredixDev/px-inbox","labels_url":"https://api.github.com/repos/PredixDev/px-inbox/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/PredixDev/px-inbox/issues/6/comments","events_url":"https://api.github.com/repos/PredixDev/px-inbox/issues/6/events","html_url":"https://github.com/PredixDev/px-inbox/issues/6","id":232282555,"number":6,"title":"Enhancement: allow descending sort order","user":{"login":"brettjohns89","id":28303871,"avatar_url":"https://avatars2.githubusercontent.com/u/28303871?v=3","gravatar_id":"","url":"https://api.github.com/users/brettjohns89","html_url":"https://github.com/brettjohns89","followers_url":"https://api.github.com/users/brettjohns89/followers","following_url":"https://api.github.com/users/brettjohns89/following{/other_user}","gists_url":"https://api.github.com/users/brettjohns89/gists{/gist_id}","starred_url":"https://api.github.com/users/brettjohns89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brettjohns89/subscriptions","organizations_url":"https://api.github.com/users/brettjohns89/orgs","repos_url":"https://api.github.com/users/brettjohns89/repos","events_url":"https://api.github.com/users/brettjohns89/events{/privacy}","received_events_url":"https://api.github.com/users/brettjohns89/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-05-30T15:00:11Z","updated_at":"2017-05-30T15:00:11Z","closed_at":null,"body":"## Expected behavior and actual behavior:\r\n\r\nThe sorting capability does not give you any choice whether or not to sort in ascending or descending, order which limits its usefulness and functionality. Sorting by \"title\" or \"subtitle\" sorts in ascending order, and \"severity\" and \"date\" sort in descending order without any choice in the matter. \r\n\r\nThe different severity levels do not give a sufficient level of granularity for a wide range of use cases, so giving the option to sort by descending on the other elements (title, subtitle, date) would open up many other UX possibilities. \r\n\r\nOur specific use case is having a list of alerts based on probability levels that are dynamically populated, and we want to sort them in descending order of the calculated probability. We can somewhat approximate this by giving different \"severity\" ratings based on different probability thresholds, but we would really like more granularity than this to differentiate between alerts that are given the same \"severity\" level (i.e. 75% and 99% probability should not be prioritized the same but with only 4 severity options we have to sort them into these large buckets). Differentiating by \"severity\" also applies different CSS styles which we have to override. \r\n\r\nIt would be much simpler and more straightforward to simply allow descending sort based on subtitle or even a hidden attribute of some sort."}}
{"actor":{"display_login":"brettjohns89"}}