Display background color based on status
Implemented table sorting