fixed href sorting