Copy node sorting bug

On this page you will see different panels. The first panel, Source List, contains both the filtered source list and the complete source list.

The purpose of displaying the filtered source list in desceding order is to make it easier to compare the output in the Response body in the Destination panel below to the expected output.

Replication steps:

  1. Click the "Click here" button below the Source list panel.
  2. Clicking the button will populate the Destination list and the response body in the Destination panel. (Note: The source list used by the Copy Data node is configured to sort the data by Founded Year in descending order.

Current output:

  1. When viewing the result on the page, the Band Name column in the list in destination panel is displayed in ascending order by default. However, this does not necessarily indicate that the Copy Data node's sort order was not applied, since the DataGrid automatically sorts its first column in ascending order.
  2. The data in the response body is still displayed in ascending order instead of the configured descending order.

Expected output:

The response body should reflect the data in descending order, since the source list of the Copy Data node is configured to sort by the Founded Year column in descending order. Since this method captures the data directly without displaying it in a DataGrid, the result is not affected by any DataGrid sorting behavior. This indicates that the configured sort order of the Copy Data node is not being applied to the resulting data.

Source list

Filtered source list based on the Band’s founding year <1980

ID

Band Name

Founded

5

The Clash

1976

4

Queen

1970

3

Pink Floyd

1965

2

The Rolling Stones

1962

1

The Beatles

1960

Whole source List data:

ID

Band Name

Founded

1

The Beatles

1960

2

The Rolling Stones

1962

3

Pink Floyd

1965

4

Queen

1970

5

The Clash

1976

6

Metallica

1981

7

Red Hot Chili Peppers

1982

8

Guns N' Roses

1985

9

Bon Jovi

1983

10

Nirvana

1987

 

Destination

Response Body:

Band-Name

Founded

Node ID: 21110049