added sort and statuses. fixed styles