styling and foundation for sorting