fixing bastion - removed sort