completed dropdown sorting feature