{"action":"created","issue":{"url":"https://api.github.com/repos/woothemes/woocommerce/issues/8690","labels_url":"https://api.github.com/repos/woothemes/woocommerce/issues/8690/labels{/name}","comments_url":"https://api.github.com/repos/woothemes/woocommerce/issues/8690/comments","events_url":"https://api.github.com/repos/woothemes/woocommerce/issues/8690/events","html_url":"https://github.com/woothemes/woocommerce/issues/8690","id":98257972,"number":8690,"title":"Edit Product: Variations - Sorted in Reverse Order?","user":{"login":"rtddev","id":1872898,"avatar_url":"https://avatars.githubusercontent.com/u/1872898?v=3","gravatar_id":"","url":"https://api.github.com/users/rtddev","html_url":"https://github.com/rtddev","followers_url":"https://api.github.com/users/rtddev/followers","following_url":"https://api.github.com/users/rtddev/following{/other_user}","gists_url":"https://api.github.com/users/rtddev/gists{/gist_id}","starred_url":"https://api.github.com/users/rtddev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rtddev/subscriptions","organizations_url":"https://api.github.com/users/rtddev/orgs","repos_url":"https://api.github.com/users/rtddev/repos","events_url":"https://api.github.com/users/rtddev/events{/privacy}","received_events_url":"https://api.github.com/users/rtddev/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-07-30T20:33:03Z","updated_at":"2015-07-30T22:14:44Z","closed_at":"2015-07-30T22:13:13Z","body":"Doing some testing on 2.4.0-beta-4.\r\n\r\nNoticed in the Variation Editor our variations are now in reverse order, and you can't seem to re-order them.\r\n\r\n![image](https://cloud.githubusercontent.com/assets/1872898/8994141/6ad99810-36be-11e5-8165-849b5ad3161b.png)\r\n\r\nWhen we created them, we started with S, M, L, XL, 2XL. Now they are in opposite order which makes editing them un-intuitive.\r\n\r\nAny thoughts?"},"comment":{"url":"https://api.github.com/repos/woothemes/woocommerce/issues/comments/126507536","html_url":"https://github.com/woothemes/woocommerce/issues/8690#issuecomment-126507536","issue_url":"https://api.github.com/repos/woothemes/woocommerce/issues/8690","id":126507536,"user":{"login":"claudiosmweb","id":1264099,"avatar_url":"https://avatars.githubusercontent.com/u/1264099?v=3","gravatar_id":"","url":"https://api.github.com/users/claudiosmweb","html_url":"https://github.com/claudiosmweb","followers_url":"https://api.github.com/users/claudiosmweb/followers","following_url":"https://api.github.com/users/claudiosmweb/following{/other_user}","gists_url":"https://api.github.com/users/claudiosmweb/gists{/gist_id}","starred_url":"https://api.github.com/users/claudiosmweb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/claudiosmweb/subscriptions","organizations_url":"https://api.github.com/users/claudiosmweb/orgs","repos_url":"https://api.github.com/users/claudiosmweb/repos","events_url":"https://api.github.com/users/claudiosmweb/events{/privacy}","received_events_url":"https://api.github.com/users/claudiosmweb/received_events","type":"User","site_admin":false},"created_at":"2015-07-30T22:14:44Z","updated_at":"2015-07-30T22:14:44Z","body":"Now you can change it:\r\n\r\n```php\r\nfunction my_custom_wc_get_variations_args( $args ) {\r\n    $args['order'] = 'ASC';\r\n\r\n    return $args;\r\n}\r\n\r\nadd_filter( 'woocommerce_ajax_admin_get_variations_args', 'my_custom_wc_get_variations_args' );\r\n```"}}