How can I sort the contents of CSV file?

I have a CSV file containing two elements: string Person, int NoOfHours. I want to sort their order based on the NoOfHours. Do you have any idea on how to implement this?

1 Like
  • upload csv file into Media Folder
  • set File1 to Assets
  • read from uploaded file
  • In WHen File Text Gotten, set global CSV variable to text
  • set global Table variable to Table From CSV list conversion of CSV global variable
  • Apply list block that sorts based on user specified comparison criterion
  • use criterion: (select item 2 of item1 < select item 2 of item2)