# Having ordered points in the Excel output file

**URL:** https://discourse.paraview.org/t/having-ordered-points-in-the-excel-output-file/13281
**Category:** ParaView Support
**Created:** [November 20, 2023, 2:01am UTC](https://discourse.paraview.org/t/having-ordered-points-in-the-excel-output-file/13281 "2023-11-20T02:01:31Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Foojan](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/f/7c8e57/32.png) [@Foojan](https://discourse.paraview.org/u/Foojan)
#### Post date: [November 20, 2023, 2:01am UTC](https://discourse.paraview.org/t/having-ordered-points-in-the-excel-output-file/13281/1 "2023-11-20T02:01:31Z")

</div>

Hi,

I have been working with Paraview for the visualization of 2-phase flow. For my research purpose, when I apply a specific contour, I obtain sets of points known as interfaces (like the image below- there are points in the image not lines):

 ![image](https://discourse.paraview.org/uploads/default/original/2X/1/1601019528e97e6ff5299d106b02013026bc5623.png)

However, when I read csv file of these data points in Python and try to do some analysis, the ordering of the points run into a problem and become unorganized, and for example for one specific interface of the above image, the curve looks like this:  
 ![image](https://discourse.paraview.org/uploads/default/original/2X/b/b49cd2e6e33bd9401eb148de119d8123690b0eb2.png)

So, I wanted to ask how I can do the ordering of the points in each interface (each white segment of the first image), so they create a curve (in Python) without the lines intersecting each other?

Looking forward to hearing from you.

Foojan
