Sort attribute paths