Project

Sort and Create Line Numbers

This script defines a function named SortAndCreateLineNumbers, which takes a table as input, sorts the table by dates in ascending order, and adds an index column named LINE_NO starting from 1 and increasing by 1 until the date changes. An example

Empty image or helper icon

Sort and Create Line Numbers

Description

This script defines a function named SortAndCreateLineNumbers, which takes a table as input, sorts the table by dates in ascending order, and adds an index column named LINE_NO starting from 1 and increasing by 1 until the date changes. An example usage is provided using a sample data table.

Content