InventoryTools is a Bukkit plugin for sorting chests etc...