Compile with all warnings on.

We have two unused variable warnings. Will fix later (maybe).
Added sorting to container sample.