Sort window by its title