Fixed auto module sorting.