export default function SortDropdown({ value, onChange }) {
  return (
    <select value={value} onChange={(e) => onChange(e.target.value)} className="glist-sort">
      <option value="az">A → Z</option>
      <option value="za">Z → A</option>
      <option value="qty-high">Quantity: High → Low</option>
      <option value="qty-low">Quantity: Low → High</option>
      <option value="zone">By Zone</option>
    </select>
  );
}
