Changed the sort order from descending to ascending while getting custom options for a product, currently default sort order (descending) was used while generating rows for custom options for a product, so now after importing custom options will be displayed in the same order as in which these were exported.
Manual testing scenarios
Create a simple product with two options, the 1st option is a dropdown and the 2nd option is a field, Save it.
System -> Export
System -> Import same file in same store or other
After import, in UI, product options will be in the same order as in it was exported.
Contribution checklist
[ ] Pull request has a meaningful description of its purpose
[ ] All commits are accompanied by meaningful commit messages
[ ] All new or changed code is covered with unit/integration tests (if applicable)
[ ] All automated tests passed successfully (all builds on Travis CI are green)
Description
Changed the sort order from descending to ascending while getting custom options for a product, currently default sort order (descending) was used while generating rows for custom options for a product, so now after importing custom options will be displayed in the same order as in which these were exported.
Manual testing scenarios
Contribution checklist