fixed sorting, styling