fixed sorting app