fixed sorting, placeholder working