Sort paths to be consistent across platforms