Add dropdown sort with unit and e2e tests