{"action":"opened","issue":{"url":"https://api.github.com/repos/kvirc/kvirc-issue-test/issues/44","labels_url":"https://api.github.com/repos/kvirc/kvirc-issue-test/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/kvirc/kvirc-issue-test/issues/44/comments","events_url":"https://api.github.com/repos/kvirc/kvirc-issue-test/issues/44/events","html_url":"https://github.com/kvirc/kvirc-issue-test/issues/44","id":89695797,"number":44,"title":"possible $sort/$rsort bug","user":{"login":"pragmaware","id":8988456,"avatar_url":"https://avatars.githubusercontent.com/u/8988456?v=3","gravatar_id":"","url":"https://api.github.com/users/pragmaware","html_url":"https://github.com/pragmaware","followers_url":"https://api.github.com/users/pragmaware/followers","following_url":"https://api.github.com/users/pragmaware/following{/other_user}","gists_url":"https://api.github.com/users/pragmaware/gists{/gist_id}","starred_url":"https://api.github.com/users/pragmaware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pragmaware/subscriptions","organizations_url":"https://api.github.com/users/pragmaware/orgs","repos_url":"https://api.github.com/users/pragmaware/repos","events_url":"https://api.github.com/users/pragmaware/events{/privacy}","received_events_url":"https://api.github.com/users/pragmaware/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kvirc/kvirc-issue-test/labels/C:%20KVS%20Engine","name":"C: KVS Engine","color":"0000aa"},{"url":"https://api.github.com/repos/kvirc/kvirc-issue-test/labels/P:%20Normal","name":"P: Normal","color":"aa8888"},{"url":"https://api.github.com/repos/kvirc/kvirc-issue-test/labels/T:%20Bug","name":"T: Bug","color":"cccccc"}],"state":"open","locked":false,"assignee":{"login":"pragmaware","id":8988456,"avatar_url":"https://avatars.githubusercontent.com/u/8988456?v=3","gravatar_id":"","url":"https://api.github.com/users/pragmaware","html_url":"https://github.com/pragmaware","followers_url":"https://api.github.com/users/pragmaware/followers","following_url":"https://api.github.com/users/pragmaware/following{/other_user}","gists_url":"https://api.github.com/users/pragmaware/gists{/gist_id}","starred_url":"https://api.github.com/users/pragmaware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pragmaware/subscriptions","organizations_url":"https://api.github.com/users/pragmaware/orgs","repos_url":"https://api.github.com/users/pragmaware/repos","events_url":"https://api.github.com/users/pragmaware/events{/privacy}","received_events_url":"https://api.github.com/users/pragmaware/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2015-06-20T01:05:25Z","updated_at":"2015-06-20T01:05:25Z","closed_at":null,"body":"**Reported by ruuk on 26 Oct 2007 11:02 UTC**\nthe $sort/$rsort commands seem to operate on the array index instead of \r\nthe values. %x[= a ; %x[2](1]) = c; %x[3] =b; echo $rsort(%x); returns b,c,a\r\nShouldn't it sort on the value, otherwise what is the use of $sort which \r\nessentially does nothing. Or am I missing something?"}}