added sorting, css updates