If you let me know exactly what modifications you need, I can probably do them for you.
eg. It needs to be a text array not a numerical array. At the moment you can't revert to the original order after sorting. Also, the CSV import/export is a bit lazy as I just used tokenizing instead of checking for quotes (so it won't work if the data values contain commas).
Will the arrays contain numerical values as well as text? If so, will they be limited to specific columns? And if so, which column(s)? Also, will they always be integers, or is it possible there will be decimals as well? What about negative values? Sorting is pretty awkward when you have all those mixed together...
And you mentioned a search function in your original post - exactly how would that work? What would the interface look like? Does it search the entire array for a specific string, or only a specific column, or is it more complicated than that? Presumably you need a "find next" option?
Anything else you need?
The more details you can give, the better - even if they seem like really trivial things.