Add options to sort paths