Best strategy for Reading & Sorting Electricity Cost Array

Looks great. Can you share your node red flow?