Is there an easier method to obtain the sorting index given a column of data? In Matlab you can add a second output and it'll give you an index which you can apply to other related arrays.
using Datetime using DataFrame D = # load your data, DataFrame time = # Parse time from your loaded data y = [int64(time) [1:length(time)]] I = sortrows(y,by=x->x[1]) # Sort index (by time) I = I[1:end,2] # Remove unnecessary time column time = time[I] # Sort time by time
