refactored the sequenceNumberSetInArray function. Changed the sorting from descentant to ascendant
refactored the sequenceNumberSetInArray function. Changed the sorting from descentant to ascendant

opensalt/opensalt,opensalt/opensalt,opensalt/opensalt