added sorting example