compare package:xmonad-contrib

A comparison function which orders workspaces according to the stored dynamic ordering.
A comparison function for WorkspaceId, based on the index of the tags in the user's config.
A simple comparison function that orders workspaces lexicographically by tag.
A comparison function like getXineramaWsCompare, but uses physical locations for screens.
A comparison function for Xinerama based on visibility, workspace and screen id. It produces the same ordering as pprWindowSetXinerama.