sort for panel