- cascadingOrder :: [Ordering] -> Ordering
- replaceAll :: Eq a => [a] -> [a] -> [a] -> [a]

# Documentation

cascadingOrder :: [Ordering] -> OrderingSource

applies a cascading order logic where 1st non-equal ordering defines the ordering for the list. If they're all equal (or the list is empty) then return EQ

replaceAll :: Eq a => [a] -> [a] -> [a] -> [a]Source