Added sorting rules and edited sizes