Sort post listing fix