Fixing output order for RLI data