Queue sorts by dex