Hello @Priya Jha ,
Thanks for the question and using MS Q&A platform.
Sorting in a pipeline:
There is no function to do so at this time. Implementing some sorting algorithm using just pipeline activities is not practical. It would also be expensive. Generally it is best to do the sort outside of Data Factory in that case.
Sorting in a Dataflow:
There is a sort function in Dataflow. You could even pass the variable into the dataflow and then operate on that to make new dataflow parameter. However, remember Dataflow is kinda like Copy data activity in that it expects a source and sink. If all you want to do is sort the variable and not move data, it isn't really good use of resources. Also I don't think there is an output for dataflow parameters back into the pipeline. You could write the array to a file, and read that into dataflow and then write it back out once sorted.
Please do let me if you have any queries.
Thanks
Martin
- Please don't forget to click on
or upvote
button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how
- Want a reminder to come back and check responses? Here is how to subscribe to a notification
- If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators