Added originalIndex to parseQuality to correctly sort long lists (v8 does unstable quicksort for length > 10)